Examples of verifyErrorFreeLog()


Examples of org.apache.maven.surefire.its.fixture.OutputValidator.verifyErrorFreeLog()

    @Test
    public void testNGRunCategoryAB()
    {
        OutputValidator validator = unpackTestNG().groups( "CategoryA AND CategoryB" ).debugLogging().executeTest();
        validator.verifyErrorFreeLog();
        validator.assertTestSuiteResults( 2, 0, 0, 0 );
        validator.verifyTextInLog( "BasicTest.testInCategoriesAB()" );
        validator.verifyTextInLog( "CategoryCTest.testInCategoriesAB()" );
    }
View Full Code Here

Examples of org.apache.maven.surefire.its.fixture.OutputValidator.verifyErrorFreeLog()

    @Test
    public void testNGRunCategoryNotC()
    {
        OutputValidator validator = unpackTestNG().groups( "!CategoryC" ).debugLogging().executeTest();
        validator.verifyErrorFreeLog();
        validator.assertTestSuiteResults( 8, 0, 0, 0 );
        validator.verifyTextInLog( "catA: 2" );
        validator.verifyTextInLog( "catB: 2" );
        validator.verifyTextInLog( "catC: 0" );
        validator.verifyTextInLog( "catNone: 1" );
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.