o Renamed ITs to match corresponding JIRA issues

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@729902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-12-29 14:37:40 +00:00
parent 56fdeed07c
commit 71bb9dfb84
26 changed files with 82 additions and 28 deletions

View File

@ -225,11 +225,18 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenITmng1415QuotedSystemPropertiesTest.class );
suite.addTestSuite( MavenITmng1412DependenciesOrderTest.class );
suite.addTestSuite( MavenITmng1323AntrunDependenciesTest.class );
suite.addTestSuite( MavenITmng1052PluginMngtConfigTest.class );
suite.addTestSuite( MavenITmng1021EqualAttachmentBuildNumberTest.class );
suite.addTestSuite( MavenITmng0985NonExecutedPluginMngtGoalsTest.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( MavenITmng0814ExplicitProfileActivationTest.class );
suite.addTestSuite( MavenITmng0786ProfileAwareReactorTest.class );
suite.addTestSuite( MavenITmng0781PluginConfigVsExecConfigTest.class );
suite.addTestSuite( MavenITmng0773SettingsProfileReactorPollutionTest.class );
suite.addTestSuite( MavenITmng0768OfflineModeTest.class );
suite.addTestSuite( MavenITmng0761MissingSnapshotDistRepoTest.class );
@ -278,13 +285,6 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenIT0082Test.class );
suite.addTestSuite( MavenIT0081Test.class );
suite.addTestSuite( MavenIT0080Test.class );
suite.addTestSuite( MavenIT0079Test.class );
suite.addTestSuite( MavenIT0078Test.class );
suite.addTestSuite( MavenIT0077Test.class );
suite.addTestSuite( MavenIT0076Test.class );
suite.addTestSuite( MavenIT0075Test.class );
suite.addTestSuite( MavenIT0074Test.class );
suite.addTestSuite( MavenIT0073Test.class );
suite.addTestSuite( MavenIT0072Test.class );
suite.addTestSuite( MavenIT0071Test.class );
suite.addTestSuite( MavenIT0064Test.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-885">MNG-885</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0071Test
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-885">MNG-885</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenIT0072Test
extends AbstractMavenIntegrationTestCase
{

View File

@ -24,7 +24,13 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0074Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-781">MNG-781</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0781PluginConfigVsExecConfigTest
extends AbstractMavenIntegrationTestCase
{
@ -32,10 +38,10 @@ public class MavenIT0074Test
* Test that plugin-level configuration instances are not nullified by
* execution-level configuration instances.
*/
public void testit0074()
public void testitMNG0781()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0074" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0781" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "process-resources" );
verifier.assertFilePresent( "target/exec-level.txt" );

View File

@ -25,7 +25,13 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
import java.util.Properties;
public class MavenIT0075Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-786">MNG-786</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0786ProfileAwareReactorTest
extends AbstractMavenIntegrationTestCase
{
@ -33,10 +39,10 @@ public class MavenIT0075Test
* Verify that direct invocation of a mojo from the command line still
* results in the processing of modules included via profiles.
*/
public void testit0075()
public void testitMNG0786()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0075" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0786" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.setAutoclean( false );

View File

@ -26,17 +26,23 @@ import java.io.File;
import java.util.Arrays;
import java.util.List;
public class MavenIT0073Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-823">MNG-823</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0823MojoContextPassingTest
extends AbstractMavenIntegrationTestCase
{
/**
* Tests context passing between mojos in the same plugin.
*/
public void testit0073()
public void testitMNG0823()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0073" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0823" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.deleteArtifact( "org.apache.maven.its.plugins", "maven-it-plugin-context-passing", "1.0",
"maven-plugin" );

View File

@ -27,16 +27,22 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
public class MavenIT0077Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-932">MNG-932</a>.
*
* @author Brett Porter
* @version $Id$
*/
public class MavenITmng0932TestJarDeploymentTest
extends AbstractMavenIntegrationTestCase
{
/**
* Test test jar attachment.
*/
public void testit0077()
public void testitMNG0932()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0077" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0932" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.deleteArtifact( "org.apache.maven.its.it0077", "sub1", "1.0", "test-jar" );
verifier.executeGoal( "install" );

View File

@ -24,7 +24,13 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0076Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-985">MNG-985</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng0985NonExecutedPluginMngtGoalsTest
extends AbstractMavenIntegrationTestCase
{
@ -33,10 +39,10 @@ public class MavenIT0076Test
* unless they are referenced by groupId/artifactId within the plugins
* section of a pom.
*/
public void testit0076()
public void testitMNG0985()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0076" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-0985" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "initialize" );
verifier.assertFileNotPresent( "target/unexpected.txt" );

View File

@ -24,7 +24,13 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0079Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-1021">MNG-1021</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng1021EqualAttachmentBuildNumberTest
extends AbstractMavenIntegrationTestCase
{
@ -32,10 +38,10 @@ public class MavenIT0079Test
* Test that source attachments have the same build number as the main
* artifact when deployed.
*/
public void testit0079()
public void testitMNG1021()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0079" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-1021" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "initialize" );
verifier.assertFilePresent(

View File

@ -24,7 +24,13 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0078Test
/**
* This is a test set for <a href="http://jira.codehaus.org/browse/MNG-1052">MNG-1052</a>.
*
* @author John Casey
* @version $Id$
*/
public class MavenITmng1052PluginMngtConfigTest
extends AbstractMavenIntegrationTestCase
{
@ -33,10 +39,10 @@ public class MavenIT0078Test
* PluginManagement section even when it's not explicitly defined in the
* plugins section.
*/
public void testit0078()
public void testitMNG1052()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0078" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-1052" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "process-resources" );
verifier.assertFilePresent( "target/plugin-management.txt" );