o Renamed ITs to match their corresponding JIRA issue

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@723903 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-12-05 22:28:17 +00:00
parent cd1174baea
commit 6e587051f1
27 changed files with 108 additions and 30 deletions

View File

@ -210,7 +210,14 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenITmng1412DependenciesOrderTest.class );
suite.addTestSuite( MavenITmng1323AntrunDependenciesTest.class );
suite.addTestSuite( MavenITmng0836PluginParentResolutionTest.class );
suite.addTestSuite( MavenITmng0522PluginMgmtConfigTest.class );
suite.addTestSuite( MavenITmng0507ArtifactRelocationTest.class );
suite.addTestSuite( MavenITmng0505VersionRangeTest.class );
suite.addTestSuite( MavenITmng0496IgnoreUnknownPluginParametersTest.class );
suite.addTestSuite( MavenITmng0471CustomLifecycleTest.class );
suite.addTestSuite( MavenITmng0469ReportConfigTest.class );
suite.addTestSuite( MavenITmng0377PluginLookupFromPrefixTest.class );
suite.addTestSuite( MavenITmng0294MergeGlobalAndUserSettingsTest.class );
suite.addTestSuite( MavenIT0142DirectDependencyScopesTest.class );
suite.addTestSuite( MavenIT0140Test.class );
suite.addTestSuite( MavenIT0139Test.class );
@ -275,15 +282,8 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenIT0038Test.class );
suite.addTestSuite( MavenIT0037Test.class );
suite.addTestSuite( MavenIT0036Test.class );
suite.addTestSuite( MavenIT0035Test.class );
suite.addTestSuite( MavenIT0034Test.class );
suite.addTestSuite( MavenIT0032Test.class );
suite.addTestSuite( MavenIT0031Test.class );
suite.addTestSuite( MavenIT0030Test.class );
suite.addTestSuite( MavenIT0029Test.class );
suite.addTestSuite( MavenIT0028Test.class );
suite.addTestSuite( MavenIT0027Test.class );
suite.addTestSuite( MavenIT0026Test.class );
suite.addTestSuite( MavenIT0025Test.class );
suite.addTestSuite( MavenIT0024Test.class );
suite.addTestSuite( MavenIT0023Test.class );

View File

@ -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-172">MNG-172</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0024Test
extends AbstractMavenIntegrationTestCase
{

View File

@ -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-172">MNG-172</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0025Test
extends AbstractMavenIntegrationTestCase
{

View File

@ -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-607">MNG-607</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0036Test
extends AbstractMavenIntegrationTestCase
{

View File

@ -26,6 +26,12 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-607">MNG-607</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0037Test
extends AbstractMavenIntegrationTestCase
{

View File

@ -26,6 +26,12 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-607">MNG-607</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0038Test
extends AbstractMavenIntegrationTestCase
{

View File

@ -26,6 +26,12 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-607">MNG-607</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0039Test
extends AbstractMavenIntegrationTestCase
{

View File

@ -25,10 +25,16 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
import java.util.Properties;
public class MavenIT0026Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-294">MNG-294</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0294MergeGlobalAndUserSettingsTest
extends AbstractMavenIntegrationTestCase
{
public MavenIT0026Test()
public MavenITmng0294MergeGlobalAndUserSettingsTest()
{
super( "[,2.99.99)" );
}
@ -36,10 +42,10 @@ public class MavenIT0026Test
/**
* Test merging of global- and user-level settings.xml files.
*/
public void testit0026()
public void testitMNG294()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0026" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0294" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
Properties systemProperties = new Properties();
systemProperties.put( "org.apache.maven.user-settings", "user-settings.xml" );

View File

@ -27,10 +27,16 @@ import java.util.Properties;
import java.util.List;
import java.util.ArrayList;
public class MavenIT0031Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-377">MNG-377</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0377PluginLookupFromPrefixTest
extends AbstractMavenIntegrationTestCase
{
public MavenIT0031Test()
public MavenITmng0377PluginLookupFromPrefixTest()
{
}
@ -38,10 +44,10 @@ public class MavenIT0031Test
* Test usage of plugins.xml mapping file on the repository to resolve plugin artifactId from it's prefix using the
* pluginGroups in the provided settings.xml.
*/
public void testit0031()
public void testitMNG377()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0031" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0377" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
List cliOptions = new ArrayList();

View File

@ -26,17 +26,23 @@ import java.io.File;
import java.util.Arrays;
import java.util.List;
public class MavenIT0027Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-471">MNG-471</a>.
*
* @author Brett Porter
* @version $Id$
*/
public class MavenITmng0471CustomLifecycleTest
extends AbstractMavenIntegrationTestCase
{
/**
* Test @execute with a custom lifecycle, including configuration
*/
public void testit0027()
public void testitMNG471()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0027" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0471" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
List goals = Arrays.asList( new String[]{"org.apache.maven.its.plugins:maven-it-plugin-fork:fork",
"org.apache.maven.its.plugins:maven-it-plugin-fork:fork-goal"} );

View File

@ -24,7 +24,13 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0028Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-496">MNG-496</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0496IgnoreUnknownPluginParametersTest
extends AbstractMavenIntegrationTestCase
{
@ -32,10 +38,10 @@ public class MavenIT0028Test
* Test that unused configuration parameters from the POM don't cause the
* mojo to fail...they will show up as warnings in the -X output instead.
*/
public void testit0028()
public void testitMNG496()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0028" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0496" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-file:2.1-SNAPSHOT:file" );

View File

@ -24,17 +24,23 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0034Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-505">MNG-505</a>.
*
* @author Brett Porter
* @version $Id$
*/
public class MavenITmng0505VersionRangeTest
extends AbstractMavenIntegrationTestCase
{
/**
* Test version range junit [3.7,) resolves to 3.8.1
*/
public void testit0034()
public void testitMNG505()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0034" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0505" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.deleteArtifact( "org.apache.maven", "maven-core-it-support", "1.4", "jar" );
verifier.deleteArtifact( "junit", "junit", "3.8", "jar" );

View File

@ -24,17 +24,23 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0035Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-507">MNG-507</a>.
*
* @author Brett Porter
* @version $Id$
*/
public class MavenITmng0507ArtifactRelocationTest
extends AbstractMavenIntegrationTestCase
{
/**
* Test artifact relocation.
*/
public void testit0035()
public void testitMNG507()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0035" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0507" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.deleteArtifact( "org.apache.maven", "maven-core-it-support", "1.1", "jar" );
verifier.deleteArtifact( "org.apache.maven", "maven-core-it-support", "1.1", "pom" );

View File

@ -24,17 +24,23 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0029Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-522">MNG-522</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0522PluginMgmtConfigTest
extends AbstractMavenIntegrationTestCase
{
/**
* Test for pluginManagement injection of plugin configuration.
*/
public void testit0029()
public void testitMNG522()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0029" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0522" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.deleteArtifact( "org.apache.maven.it", "maven-it-it0029", "1.0-SNAPSHOT", "jar" );