mirror of https://github.com/apache/maven.git
o Renamed ITs to match their corresponding JIRA issue
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@723992 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
342565b269
commit
1ac1a9b629
|
@ -212,6 +212,8 @@ public class IntegrationTestSuite
|
|||
suite.addTestSuite( MavenITmng0866EvaluateDefaultValueTest.class );
|
||||
suite.addTestSuite( MavenITmng0848SystemPropOverridesDefaultValueTest.class );
|
||||
suite.addTestSuite( MavenITmng0836PluginParentResolutionTest.class );
|
||||
suite.addTestSuite( MavenITmng0674PluginParameterAliasTest.class );
|
||||
suite.addTestSuite( MavenITmng0557UserSettingsCliOptionTest.class );
|
||||
suite.addTestSuite( MavenITmng0522PluginMgmtConfigTest.class );
|
||||
suite.addTestSuite( MavenITmng0507ArtifactRelocationTest.class );
|
||||
suite.addTestSuite( MavenITmng0505VersionRangeTest.class );
|
||||
|
@ -220,6 +222,9 @@ public class IntegrationTestSuite
|
|||
suite.addTestSuite( MavenITmng0469ReportConfigTest.class );
|
||||
suite.addTestSuite( MavenITmng0377PluginLookupFromPrefixTest.class );
|
||||
suite.addTestSuite( MavenITmng0294MergeGlobalAndUserSettingsTest.class );
|
||||
suite.addTestSuite( MavenITmng0282NonReactorExecWhenProjectIndependentTest.class );
|
||||
suite.addTestSuite( MavenITmng0249ResolveDepsFromReactorTest.class );
|
||||
suite.addTestSuite( MavenITmng0095ReactorFailureBehaviorTest.class );
|
||||
suite.addTestSuite( MavenIT0142DirectDependencyScopesTest.class );
|
||||
suite.addTestSuite( MavenIT0140Test.class );
|
||||
suite.addTestSuite( MavenIT0139Test.class );
|
||||
|
@ -270,13 +275,8 @@ public class IntegrationTestSuite
|
|||
suite.addTestSuite( MavenIT0053Test.class );
|
||||
suite.addTestSuite( MavenIT0052Test.class );
|
||||
suite.addTestSuite( MavenIT0051Test.class );
|
||||
suite.addTestSuite( MavenIT0049Test.class );
|
||||
suite.addTestSuite( MavenIT0047Test.class );
|
||||
suite.addTestSuite( MavenIT0046Test.class );
|
||||
suite.addTestSuite( MavenIT0045Test.class );
|
||||
suite.addTestSuite( MavenIT0044Test.class );
|
||||
suite.addTestSuite( MavenIT0043Test.class );
|
||||
suite.addTestSuite( MavenIT0042Test.class );
|
||||
suite.addTestSuite( MavenIT0041Test.class );
|
||||
suite.addTestSuite( MavenIT0040Test.class );
|
||||
suite.addTestSuite( MavenIT0039Test.class );
|
||||
|
|
|
@ -24,6 +24,12 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-598">MNG-598</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenIT0040Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
|
|
@ -24,6 +24,12 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-598">MNG-598</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenIT0041Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
|
|
@ -26,7 +26,13 @@ import java.io.File;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class MavenIT0046Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-95">MNG-95</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0095ReactorFailureBehaviorTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
|
@ -34,10 +40,10 @@ public class MavenIT0046Test
|
|||
* Test fail-never reactor behavior. Forces an exception to be thrown in
|
||||
* the first module, but checks that the second modules is built.
|
||||
*/
|
||||
public void testit0046()
|
||||
public void testitMNG95()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0046" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0095" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.deleteArtifact( "org.apache.maven.plugins", "maven-it-it-plugin", "1.0", "maven-plugin" );
|
||||
List cliOptions = new ArrayList();
|
|
@ -24,17 +24,23 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0042Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-249">MNG-249</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0249ResolveDepsFromReactorTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test that the reactor can establish the artifact location of known projects for dependencies
|
||||
*/
|
||||
public void testit0042()
|
||||
public void testitMNG249()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0042" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0249" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "package" );
|
||||
verifier.assertFilePresent( "test-component-a/target/test-component-a-0.1.jar" );
|
|
@ -26,17 +26,23 @@ import java.io.File;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class MavenIT0045Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-282">MNG-282</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0282NonReactorExecWhenProjectIndependentTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test non-reactor behavior when plugin declares "@requiresProject false"
|
||||
*/
|
||||
public void testit0045()
|
||||
public void testitMNG282()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0045" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0282" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.deleteArtifact( "org.apache.maven.its.plugins", "maven-it-plugin-no-project", "1.0", "maven-plugin" );
|
||||
List cliOptions = new ArrayList();
|
|
@ -26,17 +26,23 @@ import java.io.File;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class MavenIT0044Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-557">MNG-557</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0557UserSettingsCliOptionTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test --settings CLI option
|
||||
*/
|
||||
public void testit0044()
|
||||
public void testitMNG557()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0044" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0557" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
List cliOptions = new ArrayList();
|
||||
cliOptions.add( "--settings settings.xml" );
|
|
@ -24,20 +24,24 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0049Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-674">MNG-674</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0674PluginParameterAliasTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test parameter alias usage.
|
||||
*/
|
||||
public void testit0049()
|
||||
public void testitMNG674()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0049" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0674" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
//todo: i don't think we need to delete this plugin
|
||||
//verifier.deleteArtifact( "org.apache.maven.its.plugins", "maven-it-plugin-touch", "1.0", "maven-plugin" );
|
||||
verifier.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-touch:touch" );
|
||||
verifier.assertFilePresent( "target/touchFile.txt" );
|
||||
verifier.verifyErrorFreeLog();
|
Loading…
Reference in New Issue