Package com.foundationdb.ais.model.validation

Examples of com.foundationdb.ais.model.validation.AISValidationResults.failures()


        builder.createGroup("group", "test");
        builder.addTableToGroup("group", "test", "t1");
        builder.groupingIsComplete();
        AISValidationResults vResults = builder.akibanInformationSchema().validate(AISValidations.BASIC_VALIDATIONS);
        Assert.assertEquals(1, vResults.failures().size());
        AISValidationFailure fail = vResults.failures().iterator().next();
        assertEquals(ErrorCode.GENERATOR_WRONG_DATATYPE, fail.errorCode());
    }
   
   
    private AISBuilder twoChildGroup () {
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.