Package org.apache.maven.surefire.its.fixture

Examples of org.apache.maven.surefire.its.fixture.SurefireLauncher.maven()


    SurefireLauncher specialUnpack()
        throws VerificationException, IOException
    {
        SurefireLauncher unpack = unpack( "junit-pathWithUmlaut" );
        MavenLauncher maven = unpack.maven();

        File dest = new File( maven.getUnpackedAt().getParentFile().getPath(), "/junit-pathWith\u00DCmlaut" );
        maven.moveUnpackTo( dest );
        return unpack;
    }
View Full Code Here


{

    public SurefireLauncher unpack()
    {
        SurefireLauncher unpack = unpack( "/surefire-772-both-reports" );
        unpack.maven().deleteSiteDir().skipClean().failNever();
        return unpack;
    }

    public void testReportGeneration()
        throws Exception
View Full Code Here

    }

    public SurefireLauncher unpack()
    {
        SurefireLauncher unpack = unpack( "/surefire-772-specified-reports" );
        unpack.maven().deleteSiteDir().skipClean().failNever();
        return unpack;
    }

}
View Full Code Here

    private SurefireLauncher unpack()
        throws VerificationException, IOException
    {
        final SurefireLauncher unpack = unpack( "surefire-772-no-failsafe-reports" );
        unpack.maven().deleteSiteDir().skipClean().failNever().assertNotPresent( "site" );
        return unpack;
    }

}
View Full Code Here

    SurefireLauncher specialUnpack()
        throws VerificationException, IOException
    {
        SurefireLauncher unpack = unpack( "junit-pathWithUmlaut" );
        MavenLauncher maven = unpack.maven();

        File dest = new File( maven.getUnpackedAt().getParentFile().getPath(), "/junit-pathWith\u00DCmlaut" );
        maven.moveUnpackTo( dest );
        return unpack;
    }
View Full Code Here

    }

    public SurefireLauncher unpack()
    {
        SurefireLauncher unpack = unpack( "/surefire-772-no-surefire-reports" );
         unpack.maven().failNever().deleteSiteDir().skipClean( );
        return unpack;
    }

}
View Full Code Here

    @SuppressWarnings( { "ResultOfMethodCallIgnored" } )
    public void testCharsetProvider()
        throws Exception
    {
        SurefireLauncher unpack = unpack( "/surefire-162-charsetProvider" );
        MavenLauncher maven = unpack.maven();
        OutputValidator verifier = maven.getValidator();
        File jarFile = maven.getArtifactPath( "jcharset", "jcharset", "1.2.1", "jar" );
        File pomFile = maven.getArtifactPath( "jcharset", "jcharset", "1.2.1", "pom" );
        jarFile.getParentFile().mkdirs();
        FileUtils.copyFile( verifier.getSubFile( "repo/jcharset/jcharset/1.2.1/jcharset-1.2.1.jar" ), jarFile );
View Full Code Here

    }

    public SurefireLauncher unpack()
    {
        SurefireLauncher unpack = unpack( "/surefire-772-no-surefire-reports" );
         unpack.maven().failNever().deleteSiteDir().skipClean( );
        return unpack;
    }

}
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.