mirror of https://github.com/apache/maven.git
o Renamed some ITs to match their corresponding issue ids
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@707972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
19f1dc1148
commit
4f8baa71d6
|
@ -72,8 +72,8 @@ public class IntegrationTestSuite
|
|||
|
||||
/* Tests to be added
|
||||
MavenIT0109ReleaseUpdateTest
|
||||
MavenIT0125NewestConflictResolverTest
|
||||
MavenIT0128DistMgmtSiteUrlParentCalculationTest
|
||||
MavenITmng0612NewestConflictResolverTest
|
||||
MavenITmng3134DistMgmtSiteUrlParentCalculationTest
|
||||
MavenITmng2883LegacyRepoOfflineTest
|
||||
MavenITmng3259DepsDroppedInMultiModuleBuild
|
||||
MavenITmng3415JunkRepositoryMetadataTest
|
||||
|
@ -131,6 +131,7 @@ MavenITmng3645POMSyntaxErrorTest
|
|||
suite.addTestSuite( MavenITmng3052DepRepoAggregationTest.class );
|
||||
suite.addTestSuite( MavenITmng3012Test.class );
|
||||
suite.addTestSuite( MavenITmng2972OverridePluginDependency.class );
|
||||
suite.addTestSuite( MavenITmng2926PluginPrefixOrder.class );
|
||||
suite.addTestSuite( MavenITmng2921Test.class );
|
||||
suite.addTestSuite( MavenITmng2892Test.class );
|
||||
suite.addTestSuite( MavenITmng2878Test.class );
|
||||
|
@ -155,6 +156,7 @@ MavenITmng3645POMSyntaxErrorTest
|
|||
suite.addTestSuite( MavenITmng1493NonStandardModulePomNames.class );
|
||||
suite.addTestSuite( MavenITmng1491ReactorArtifactIdCollision.class );
|
||||
suite.addTestSuite( MavenITmng1412DependenciesOrderTest.class );
|
||||
suite.addTestSuite( MavenITmng1323AntrunDependencies.class );
|
||||
suite.addTestSuite( MavenITmng0469Test.class );
|
||||
suite.addTestSuite( MavenIT0141Test.class );
|
||||
suite.addTestSuite( MavenIT0140Test.class );
|
||||
|
@ -169,8 +171,6 @@ MavenITmng3645POMSyntaxErrorTest
|
|||
suite.addTestSuite( MavenIT0131SiteLifecycleTest.class );
|
||||
suite.addTestSuite( MavenIT0130CleanLifecycleTest.class );
|
||||
suite.addTestSuite( MavenIT0129ResourceProvidedToAPluginAsAPluginDependency.class );
|
||||
suite.addTestSuite( MavenIT0127AntrunDependencies.class );
|
||||
suite.addTestSuite( MavenIT0119PluginPrefixOrder.class );
|
||||
suite.addTestSuite( MavenIT0118AttachedArtifactsInReactor.class );
|
||||
suite.addTestSuite( MavenIT0115CustomArtifactHandlerAndCustomLifecycleTest.class );
|
||||
suite.addTestSuite( MavenIT0113ServerAuthzAvailableToWagonMgrInPlugin.class );
|
||||
|
@ -282,10 +282,10 @@ MavenITmng3645POMSyntaxErrorTest
|
|||
// suite.addTestSuite( MavenITmng3530DynamicPOMInterpolationTest.class );
|
||||
|
||||
// suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- MNG-3137
|
||||
// suite.addTestSuite( MavenIT0121TransitiveDepManVersion.class ); -- MNG-3038
|
||||
// suite.addTestSuite( MavenIT0122ReactorDependencyResolutionTest.class ); -- MNG-3023
|
||||
// suite.addTestSuite( MavenIT0123SnapshotRangeRepositoryTest.class ); -- MNG-2994
|
||||
// suite.addTestSuite( MavenIT0124PomExtensionComponentOverrideTest.class ); -- MNG-2771
|
||||
// suite.addTestSuite( MavenITmng3038TransitiveDepManVersion.class ); -- MNG-3038
|
||||
// suite.addTestSuite( MavenITmng3023ReactorDependencyResolutionTest.class ); -- MNG-3023
|
||||
// suite.addTestSuite( MavenITmng2994SnapshotRangeRepositoryTest.class ); -- MNG-2994
|
||||
// suite.addTestSuite( MavenITmng2771PomExtensionComponentOverrideTest.class ); -- MNG-2771
|
||||
|
||||
return suite;
|
||||
}
|
||||
|
|
|
@ -24,30 +24,34 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0125NewestConflictResolverTest
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-612">MNG-612</a>.
|
||||
*
|
||||
* @author Mark Hobson
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng0612NewestConflictResolverTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
/**
|
||||
* Test that ensures the newest-wins conflict resolver is used.
|
||||
*
|
||||
* @throws Exception
|
||||
* @see <a href="http://jira.codehaus.org/browse/MNG-612">MNG-612</a>
|
||||
*/
|
||||
public void testit0125() throws Exception
|
||||
public void testitMNG612()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0125-newestConflictResolver/dependency" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0612/dependency" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "install" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0125-newestConflictResolver/plugin" );
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0612/plugin" );
|
||||
verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "install" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0125-newestConflictResolver/project" );
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0612/project" );
|
||||
verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "verify" );
|
||||
verifier.verifyErrorFreeLog();
|
|
@ -31,11 +31,11 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
* @author Benjamin Bentmann
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenIT0127AntrunDependencies
|
||||
public class MavenITmng1323AntrunDependencies
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
public MavenIT0127AntrunDependencies()
|
||||
public MavenITmng1323AntrunDependencies()
|
||||
{
|
||||
super( "(2.999,)" );
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ public class MavenIT0127AntrunDependencies
|
|||
public void testitMNG1323()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0127-antrunDependencies" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-1323" );
|
||||
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.setAutoclean( false );
|
|
@ -24,30 +24,34 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0124PomExtensionComponentOverrideTest
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-2771">MNG-2771</a>
|
||||
*
|
||||
* @author Mark Hobson
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng2771PomExtensionComponentOverrideTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
/**
|
||||
* Test that ensures the POM extensions can override default component implementations.
|
||||
*
|
||||
* @throws Exception
|
||||
* @see <a href="http://jira.codehaus.org/browse/MNG-2771">MNG-2771</a>
|
||||
*/
|
||||
public void testit0124() throws Exception
|
||||
public void testitMNG2771()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0124-pomExtensionComponentOverride/extension" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2771/extension" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "install" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0124-pomExtensionComponentOverride/plugin" );
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2771/plugin" );
|
||||
verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "install" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0124-pomExtensionComponentOverride/project" );
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2771/project" );
|
||||
verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "verify" );
|
||||
verifier.verifyErrorFreeLog();
|
|
@ -25,13 +25,19 @@ import java.util.ArrayList;
|
|||
import org.apache.maven.it.Verifier;
|
||||
import org.apache.maven.it.util.ResourceExtractor;
|
||||
|
||||
public class MavenIT0119PluginPrefixOrder
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-2926">MNG-2926</a>
|
||||
*
|
||||
* @author Brian Fox
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng2926PluginPrefixOrder
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
public void testit0119()
|
||||
public void testitMNG2926()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0119-pluginprefixorder" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2926" );
|
||||
|
||||
Verifier verifier;
|
||||
//use my custom settings upon invocation.
|
||||
|
@ -48,7 +54,7 @@ public class MavenIT0119PluginPrefixOrder
|
|||
// default order will be changed. Artificially make currently set groups disappear
|
||||
|
||||
// now run the test. Since we have apache and codehaus, i should get the apache one first
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0119-pluginprefixorder/test-project" );
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2926/test-project" );
|
||||
cli.add("-s '" +testDir.getAbsolutePath()+"/settings-apache.xml'");
|
||||
verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.setCliOptions( cli );
|
||||
|
@ -57,7 +63,7 @@ public class MavenIT0119PluginPrefixOrder
|
|||
|
||||
cli.clear();
|
||||
// now run the test. Since we have apache and codehaus and a prefix in my settings, i should get the custom one first
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0119-pluginprefixorder/test-project" );
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2926/test-project" );
|
||||
verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
|
||||
cli.add("-s '" +testDir.getAbsolutePath()+"/settings.xml'");
|
|
@ -24,18 +24,22 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0123SnapshotRangeRepositoryTest
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-2994">MNG-2994</a>
|
||||
*
|
||||
* @author Mark Hobson
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng2994SnapshotRangeRepositoryTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
/**
|
||||
* Test that snapshot repositories are checked for ranges with snapshot boundaries.
|
||||
*
|
||||
* @throws Exception
|
||||
* @see <a href="http://jira.codehaus.org/browse/MNG-2994">MNG-2994</a>
|
||||
*/
|
||||
public void testit0123() throws Exception
|
||||
public void testitMNG2994()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0123-snapshotRangeRepository" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2994" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "compile" );
|
||||
verifier.verifyErrorFreeLog();
|
|
@ -24,23 +24,28 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0122ReactorDependencyResolutionTest
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-3023">MNG-3023</a>
|
||||
*
|
||||
* @author Mark Hobson
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng3023ReactorDependencyResolutionTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
/**
|
||||
* Test that reactor projects are included in dependency resolution.
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public void testit0122() throws Exception
|
||||
public void testitMNG3023()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0122-reactorDependencyResolution/plugin" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3023/plugin" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "install" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0122-reactorDependencyResolution/project" );
|
||||
testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3023/project" );
|
||||
verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "org.apache.maven.its.it0122:maven-it-it0122-plugin:1.0:test" );
|
||||
verifier.verifyErrorFreeLog();
|
|
@ -26,13 +26,19 @@ import org.apache.maven.it.VerificationException;
|
|||
import org.apache.maven.it.Verifier;
|
||||
import org.apache.maven.it.util.ResourceExtractor;
|
||||
|
||||
public class MavenIT0121TransitiveDepManVersion
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-3038">MNG-3038</a>
|
||||
*
|
||||
* @author Joakim Erdfelt
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng3038TransitiveDepManVersion
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
public void testit0121()
|
||||
public void testitMNG3038()
|
||||
throws Exception
|
||||
{
|
||||
File testDirBase = ResourceExtractor.simpleExtractResources( getClass(), "/it0121-transitiveDepManVersion" );
|
||||
File testDirBase = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3038" );
|
||||
|
||||
compileDDep( testDirBase, "D1", "1.0" );
|
||||
compileDDep( testDirBase, "D2", "2.0" );
|
|
@ -24,17 +24,23 @@ import org.apache.maven.it.util.ResourceExtractor;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0128DistMgmtSiteUrlParentCalculationTest
|
||||
/**
|
||||
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-3134">MNG-3134</a>.
|
||||
*
|
||||
* @author John Casey
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MavenITmng3134DistMgmtSiteUrlParentCalculationTest
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Test DistributionManagement Site-URL calculation when modules are in sibling dirs of parent. (MNG-3134)
|
||||
* Test DistributionManagement Site-URL calculation when modules are in sibling dirs of parent.
|
||||
*/
|
||||
public void testit0128()
|
||||
public void testitMNG3134()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0128-distMgmtSiteUrlParentCalc" );
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3134" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.executeGoal( "integration-test" );
|
||||
verifier.verifyErrorFreeLog();
|
Loading…
Reference in New Issue