mirror of https://github.com/apache/maven.git
o Renamed ITs to match corresponding JIRA issues
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@731219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b038c4c21b
commit
35bf2494a9
|
@ -222,6 +222,7 @@ public class IntegrationTestSuite
|
|||
suite.addTestSuite( MavenITmng2006ChildPathAwareUrlInheritanceTest.class );
|
||||
suite.addTestSuite( MavenITmng1999DefaultReportsInheritanceTest.class );
|
||||
suite.addTestSuite( MavenITmng1995InterpolateBooleanModelElementsTest.class );
|
||||
suite.addTestSuite( MavenITmng1908LegacySnapshotUpdateTest.class );
|
||||
suite.addTestSuite( MavenITmng1830ShowVersionTest.class );
|
||||
suite.addTestSuite( MavenITmng1703PluginMgmtDepInheritanceTest.class );
|
||||
suite.addTestSuite( MavenITmng1493NonStandardModulePomNamesTest.class );
|
||||
|
@ -230,15 +231,20 @@ public class IntegrationTestSuite
|
|||
suite.addTestSuite( MavenITmng1412DependenciesOrderTest.class );
|
||||
suite.addTestSuite( MavenITmng1349ChecksumFormatsTest.class );
|
||||
suite.addTestSuite( MavenITmng1323AntrunDependenciesTest.class );
|
||||
suite.addTestSuite( MavenITmng1233WarDepWithProvidedScopeTest.class );
|
||||
suite.addTestSuite( MavenITmng1088ReactorDepResolutionTest.class );
|
||||
suite.addTestSuite( MavenITmng1052PluginMngtConfigTest.class );
|
||||
suite.addTestSuite( MavenITmng1021EqualAttachmentBuildNumberTest.class );
|
||||
suite.addTestSuite( MavenITmng0985NonExecutedPluginMngtGoalsTest.class );
|
||||
suite.addTestSuite( MavenITmng0956ComponentInjectionViaProjectLevelPluginDepTest.class );
|
||||
suite.addTestSuite( MavenITmng0932TestJarDeploymentTest.class );
|
||||
suite.addTestSuite( MavenITmng0866EvaluateDefaultValueTest.class );
|
||||
suite.addTestSuite( MavenITmng0851CustomPomFilenameTest.class );
|
||||
suite.addTestSuite( MavenITmng0848SystemPropOverridesDefaultValueTest.class );
|
||||
suite.addTestSuite( MavenITmng0836PluginParentResolutionTest.class );
|
||||
suite.addTestSuite( MavenITmng0823MojoContextPassingTest.class );
|
||||
suite.addTestSuite( MavenITmng0820ConflictResolutionTest.class );
|
||||
suite.addTestSuite( MavenITmng0818WarDepsNotTransitiveTest.class );
|
||||
suite.addTestSuite( MavenITmng0814ExplicitProfileActivationTest.class );
|
||||
suite.addTestSuite( MavenITmng0786ProfileAwareReactorTest.class );
|
||||
suite.addTestSuite( MavenITmng0781PluginConfigVsExecConfigTest.class );
|
||||
|
@ -280,16 +286,10 @@ public class IntegrationTestSuite
|
|||
suite.addTestSuite( MavenIT0115CustomArtifactHandlerAndCustomLifecycleTest.class );
|
||||
suite.addTestSuite( MavenIT0113ServerAuthzAvailableToWagonMgrInPluginTest.class );
|
||||
suite.addTestSuite( MavenIT0097Test.class );
|
||||
suite.addTestSuite( MavenIT0092Test.class );
|
||||
suite.addTestSuite( MavenIT0090Test.class );
|
||||
suite.addTestSuite( MavenIT0087Test.class );
|
||||
suite.addTestSuite( MavenIT0086Test.class );
|
||||
suite.addTestSuite( MavenIT0085Test.class );
|
||||
suite.addTestSuite( MavenIT0084Test.class );
|
||||
suite.addTestSuite( MavenIT0083Test.class );
|
||||
suite.addTestSuite( MavenIT0082Test.class );
|
||||
suite.addTestSuite( MavenIT0081Test.class );
|
||||
suite.addTestSuite( MavenIT0080Test.class );
|
||||
suite.addTestSuite( MavenIT0072Test.class );
|
||||
suite.addTestSuite( MavenIT0071Test.class );
|
||||
suite.addTestSuite( MavenIT0064Test.class );
|
||||
|
|
|
@ -25,6 +25,12 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
import java.io.File;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-1898">MNG-1898</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenIT0086Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
|
|
@ -25,6 +25,12 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
import java.io.File;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-1898">MNG-1898</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenIT0087Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
|
|
@ -24,13 +24,21 @@ 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-2068">MNG-2068</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenIT0097Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
// TODO: There is another IT for this issue, check whether these are dups or could be merged
|
||||
|
||||
/**
|
||||
* Test that the implied relative path for the parent POM works, even two
|
||||
* levels deep (c.f. MNG-2068).
|
||||
* levels deep.
|
||||
*/
|
||||
public void testit0097()
|
||||
throws Exception
|
||||
|
|
|
@ -26,17 +26,23 @@ import java.io.File;
|
|||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
||||
public class MavenIT0080Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-818">MNG-818</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0818WarDepsNotTransitiveTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test that depending on a WAR doesn't also get its dependencies transitively.
|
||||
*/
|
||||
public void testit0080()
|
||||
public void testitMNG0818()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0080" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0818" );
|
||||
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.setAutoclean( false );
|
|
@ -24,17 +24,23 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0084Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-820">MNG-820</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0820ConflictResolutionTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Verify that the collector selecting a particular version gets the correct subtree
|
||||
*/
|
||||
public void testit0084()
|
||||
public void testitMNG0820()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0084" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0820" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "package" );
|
||||
verifier.assertFilePresent( "test-component-a/target/test-component-a-0.1.jar" );
|
|
@ -25,17 +25,23 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
import java.io.File;
|
||||
import java.util.Properties;
|
||||
|
||||
public class MavenIT0081Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-956">MNG-956</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0956ComponentInjectionViaProjectLevelPluginDepTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test component injection from project-level plugin dependencies.
|
||||
*/
|
||||
public void testit0081()
|
||||
public void testitMNG0956()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0081" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0956" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.setAutoclean( false );
|
||||
verifier.deleteDirectory( "target" );
|
|
@ -24,7 +24,13 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0082Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-1088">MNG-1088</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng1088ReactorDepResolutionTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
|
@ -32,10 +38,10 @@ public class MavenIT0082Test
|
|||
* Test that the reactor can establish the artifact location of known projects for dependencies
|
||||
* using process-sources to see that it works even when they aren't compiled
|
||||
*/
|
||||
public void testit0082()
|
||||
public void testitMNG1088()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0082" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-1088" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "process-sources" );
|
||||
verifier.assertFilePresent( "test-component-c/target/my-test" );
|
|
@ -25,17 +25,23 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
import java.io.File;
|
||||
import java.util.Collection;
|
||||
|
||||
public class MavenIT0083Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-1233">MNG-1233</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng1233WarDepWithProvidedScopeTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Verify that overriding a transitive compile time dependency as provided in a WAR ensures it is not included.
|
||||
*/
|
||||
public void testit0083()
|
||||
public void testitMNG1233()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0083" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-1233" );
|
||||
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.setAutoclean( false );
|
|
@ -24,17 +24,23 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0092Test
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-1908">MNG-1908</a>.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng1908LegacySnapshotUpdateTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test that legacy repositories with legacy snapshots download correctly (c.f. MNG-2068).
|
||||
* Test that legacy repositories with legacy snapshots download correctly.
|
||||
*/
|
||||
public void testit0092()
|
||||
public void testitMNG1908()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0092" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-1908" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.deleteArtifact( "org.apache.maven", "maven-core-it-support", "1.0-SNAPSHOT", "jar" );
|
||||
verifier.executeGoal( "compile" );
|
|
@ -43,7 +43,7 @@ public class MavenITmng3873MultipleExecutionGoalsTest
|
|||
* Test that all goals from a plugin execution are actually executed and not only one when no <pluginManagement>
|
||||
* is involved.
|
||||
*/
|
||||
public void testitWithoutPluginManagement()
|
||||
public void testitWithoutPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3873( "test-1" );
|
||||
|
@ -53,7 +53,7 @@ public class MavenITmng3873MultipleExecutionGoalsTest
|
|||
* Test that all goals from a plugin execution are actually executed and not only one when <pluginManagement>
|
||||
* is involved.
|
||||
*/
|
||||
public void testitWithPluginManagement()
|
||||
public void testitWithPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3873( "test-2" );
|
||||
|
|
|
@ -44,7 +44,7 @@ public class MavenITmng3886ExecutionGoalsOrderTest
|
|||
* Test that the goals from a plugin execution are executed in the order given by the POM when no <pluginManagement>
|
||||
* is involved.
|
||||
*/
|
||||
public void testitWithoutPluginManagement()
|
||||
public void testitWithoutPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3886( "test-1" );
|
||||
|
@ -54,7 +54,7 @@ public class MavenITmng3886ExecutionGoalsOrderTest
|
|||
* Test that the goals from a plugin execution are executed in the order given by the POM when <pluginManagement>
|
||||
* is involved.
|
||||
*/
|
||||
public void testitWithPluginManagement()
|
||||
public void testitWithPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3886( "test-2" );
|
||||
|
|
|
@ -44,7 +44,7 @@ public class MavenITmng3887PluginExecutionOrderTest
|
|||
* Test that multiple plugin executions bound to the same phase are executed in the order given by the POM when no
|
||||
* <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithoutPluginManagement()
|
||||
public void testitWithoutPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3887( "test-1" );
|
||||
|
@ -54,7 +54,7 @@ public class MavenITmng3887PluginExecutionOrderTest
|
|||
* Test that multiple plugin executions bound to the same phase are executed in the order given by the POM when
|
||||
* <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithPluginManagement()
|
||||
public void testitWithPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3887( "test-2" );
|
||||
|
|
|
@ -44,7 +44,7 @@ public class MavenITmng3925MergedPluginExecutionOrderTest
|
|||
* Test that multiple plugin executions bound to the same phase by child and parent are executed in the proper
|
||||
* order when no <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithoutPluginManagement()
|
||||
public void testitWithoutPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3925( "test-1" );
|
||||
|
@ -54,7 +54,7 @@ public class MavenITmng3925MergedPluginExecutionOrderTest
|
|||
* Test that multiple plugin executions bound to the same phase by child and parent are executed in the proper
|
||||
* order when <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithPluginManagement()
|
||||
public void testitWithPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3925( "test-2" );
|
||||
|
|
|
@ -44,7 +44,7 @@ public class MavenITmng3937MergedPluginExecutionGoalsTest
|
|||
* Test that during inheritance/merging of a plugin execution the goals specified by child and parent are properly
|
||||
* ordered when no <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithoutPluginManagement()
|
||||
public void testitWithoutPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3937( "test-1" );
|
||||
|
@ -54,7 +54,7 @@ public class MavenITmng3937MergedPluginExecutionGoalsTest
|
|||
* Test that during inheritance/merging of a plugin execution the goals specified by child and parent are properly
|
||||
* ordered when <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithPluginManagement()
|
||||
public void testitWithPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3937( "test-2" );
|
||||
|
|
|
@ -46,7 +46,7 @@ public class MavenITmng3938MergePluginExecutionsTest
|
|||
* default id, regardless whether the id is given explicitly by the user or implicitly assumed from defaults, when
|
||||
* no <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithoutPluginManagement()
|
||||
public void testitWithoutPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3938( "test-1" );
|
||||
|
@ -57,7 +57,7 @@ public class MavenITmng3938MergePluginExecutionsTest
|
|||
* default id, regardless whether the id is given explicitly by the user or implicitly assumed from defaults, when
|
||||
* <pluginManagement> is involved.
|
||||
*/
|
||||
public void testitWithPluginManagement()
|
||||
public void testitWithPluginMngt()
|
||||
throws Exception
|
||||
{
|
||||
testitMNG3938( "test-2" );
|
||||
|
|
Loading…
Reference in New Issue