Package com.atlassian.json.schema.scanner.model

Examples of com.atlassian.json.schema.scanner.model.InterfaceListBuilder


    @Test
    public void testName() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder()
                .withImplementation(SimpleSmell.class)
                .withImplementation(ComplexSmell.class)
                .build()
                , getDocs()
                ,""
View Full Code Here


    @Test
    public void testCommonAttrs() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , new JsonSchemaDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

    @Test
    public void testInheritance() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , new JsonSchemaDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

    @Test
    public void testStringAttrs() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , new JsonSchemaDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

    @Test
    public void testNumericAttrs() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , new JsonSchemaDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

    @Test
    public void testArrayAttrs() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , new JsonSchemaDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

    @Test
    public void testObjectAttrs() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , new JsonSchemaDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

    @Test
    public void testSchemaDefinition() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , getDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

    @Test
    public void testArraySchemaDefinition() throws Exception
    {
        JsonSchemaGenerator generator = new DefaultJsonSchemaGeneratorProvider().provide(
                EnumCase.LOWER
                , new InterfaceListBuilder().build()
                , getDocs()
                ,""
        );

        Gson gson = new GsonBuilder()
View Full Code Here

TOP

Related Classes of com.atlassian.json.schema.scanner.model.InterfaceListBuilder

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.