Examples of AstBlueprint


Examples of com.gatehill.apib.parser.model.ast.v1.AstBlueprint

        Assert.assertNotNull(astFile);
        Assert.assertTrue(astFile.getAbsolutePath().endsWith(".json"));
        Assert.assertTrue("AST file exists", astFile.exists());

        // call
        final AstBlueprint astBlueprint = astParserService.fromAst(astFile, AstFormat.JSON);

        // assert
        Assert.assertNotNull(astBlueprint);
        Assert.assertEquals(apiName, astBlueprint.getName());
        Assert.assertEquals(resourceGroupCount, astBlueprint.getResourceGroups().size());
    }
View Full Code Here

Examples of com.gatehill.apib.parser.model.ast.v2.AstBlueprint

        Assert.assertNotNull(astFile);
        Assert.assertTrue(astFile.getAbsolutePath().endsWith(".json"));
        Assert.assertTrue("AST file exists", astFile.exists());

        // call
        final AstBlueprint astBlueprint = astParserService.fromAst(astFile, AstFormat.JSON);

        // assert
        Assert.assertNotNull(astBlueprint);
        Assert.assertEquals(apiName, astBlueprint.getName());
        Assert.assertEquals(resourceGroupCount, astBlueprint.getResourceGroups().size());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.