Package com.gatehill.apib.parser.model.ast.v1

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


        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

Related Classes of com.gatehill.apib.parser.model.ast.v1.AstBlueprint

Copyright © 2018 www.massapicom. 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.