public class MavenITmng5760ResumeFeatureTest extends AbstractMavenIntegrationTestCase
--resume
/ -r
in case of build failures.
The test uses a multi-module project with three modules:
ALL_MAVEN_VERSIONS
Constructor and Description |
---|
MavenITmng5760ResumeFeatureTest() |
Modifier and Type | Method and Description |
---|---|
void |
testFailureAfterSkipWithParallelBuild() |
void |
testFailureWithParallelBuild() |
void |
testShouldNotCrashWithoutProject() |
void |
testShouldSkipSuccessfulModulesWhenTheFirstModuleFailed() |
void |
testShouldSkipSuccessfulProjects() |
void |
testShouldSuggestToResumeWithoutArgs()
Tests that the hint at the end of a failed build mentions
--resume instead of --resume-from . |
assertCanonicalFileEquals, assertCanonicalFileEquals, assertCanonicalFileEquals, assertCanonicalFileEquals, failingMavenVersions, getMavenVersion, isSkipped, matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, setUp, tearDown, toString
public MavenITmng5760ResumeFeatureTest() throws IOException
IOException
public void testShouldSuggestToResumeWithoutArgs() throws Exception
--resume
instead of --resume-from
.Exception
- in case of failurepublic void testShouldSkipSuccessfulProjects() throws Exception
Exception
public void testShouldSkipSuccessfulModulesWhenTheFirstModuleFailed() throws Exception
Exception
public void testShouldNotCrashWithoutProject() throws Exception
Exception
public void testFailureWithParallelBuild() throws Exception
Exception
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.