o Added suffix "Test" such that "mvn test -D test=*XXXX*Test" works everywhere

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@708009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-10-26 16:20:34 +00:00
parent f5a82b156e
commit 16bb58ad26
28 changed files with 78 additions and 72 deletions

View File

@ -75,7 +75,7 @@ MavenIT0109ReleaseUpdateTest
MavenITmng0612NewestConflictResolverTest
MavenITmng3134DistMgmtSiteUrlParentCalculationTest
MavenITmng2883LegacyRepoOfflineTest
MavenITmng3259DepsDroppedInMultiModuleBuild
MavenITmng3259DepsDroppedInMultiModuleBuildTest
MavenITmng3415JunkRepositoryMetadataTest
MavenITmng3645POMSyntaxErrorTest
*/
@ -100,49 +100,49 @@ MavenITmng3645POMSyntaxErrorTest
suite.addTestSuite( MavenITmng3679PluginExecIdInterpolationTest.class );
suite.addTestSuite( MavenITmng3671PluginLevelDepInterpolationTest.class );
suite.addTestSuite( MavenITmng3667ResolveDepsWithBadPomVersionTest.class );
suite.addTestSuite( MavenITmng3652UserAgentHeader.class );
suite.addTestSuite( MavenITmng3652UserAgentHeaderTest.class );
suite.addTestSuite( MavenITmng3642DynamicResourcesTest.class );
suite.addTestSuite( MavenITmng3599useHttpProxyForWebDAV.class );
suite.addTestSuite( MavenITmng3581PluginUsesWagonDependency.class );
suite.addTestSuite( MavenITmng3545ProfileDeactivation.class );
suite.addTestSuite( MavenITmng3536AppendedAbsolutePaths.class );
suite.addTestSuite( MavenITmng3535SelfReferentialProperties.class );
suite.addTestSuite( MavenITmng3599useHttpProxyForWebDAVTest.class );
suite.addTestSuite( MavenITmng3581PluginUsesWagonDependencyTest.class );
suite.addTestSuite( MavenITmng3545ProfileDeactivationTest.class );
suite.addTestSuite( MavenITmng3536AppendedAbsolutePathsTest.class );
suite.addTestSuite( MavenITmng3535SelfReferentialPropertiesTest.class );
suite.addTestSuite( MavenITmng3503Xpp3ShadingTest.class );
suite.addTestSuite( MavenITmng3498ForkToOtherMojoTest.class );
suite.addTestSuite( MavenITmng3485OverrideWagonExtensionTest.class );
suite.addTestSuite( MavenITmng3482DependencyPomInterpolationTest.class );
suite.addTestSuite( MavenITmng3475BaseAlignedDir.class );
suite.addTestSuite( MavenITmng3475BaseAlignedDirTest.class );
suite.addTestSuite( MavenITmng3441MetadataUpdatedFromDeploymentRepositoryTest.class );
suite.addTestSuite( MavenITmng3428PluginDescriptorArtifactsIncompleteTest.class );
suite.addTestSuite( MavenITmng3396DependencyManagementForOverConstrainedRanges.class );
suite.addTestSuite( MavenITmng3396DependencyManagementForOverConstrainedRangesTest.class );
suite.addTestSuite( MavenITmng3394POMPluginVersionDominanceTest.class );
suite.addTestSuite( MavenITmng3380ManagedRelocatedTransdepsTest.class );
suite.addTestSuite( MavenITmng3372DirectInvocationOfPlugins.class );
suite.addTestSuite( MavenITmng3372DirectInvocationOfPluginsTest.class );
suite.addTestSuite( MavenITmng3355TranslatedPathInterpolationTest.class );
suite.addTestSuite( MavenITmng3331ModulePathNormalization.class );
suite.addTestSuite( MavenITmng3331ModulePathNormalizationTest.class );
suite.addTestSuite( MavenITmng3314OfflineSnapshotsTest.class );
suite.addTestSuite( MavenITmng3284UsingCachedPluginsTest.class );
suite.addTestSuite( MavenITmng3271DefaultReportsSuppressionTest.class );
suite.addTestSuite( MavenITmng3221InfiniteForking.class );
suite.addTestSuite( MavenITmng3268MultipleDashPCommandLine.class );
suite.addTestSuite( MavenITmng3221InfiniteForkingTest.class );
suite.addTestSuite( MavenITmng3268MultipleDashPCommandLineTest.class );
suite.addTestSuite( MavenITmng3220ImportScopeTest.class );
suite.addTestSuite( MavenITmng3106ProfileMultipleActivators.class );
suite.addTestSuite( MavenITmng3099SettingsProfilesWithNoPOM.class );
suite.addTestSuite( MavenITmng3106ProfileMultipleActivatorsTest.class );
suite.addTestSuite( MavenITmng3099SettingsProfilesWithNoPomTest.class );
suite.addTestSuite( MavenITmng3052DepRepoAggregationTest.class );
suite.addTestSuite( MavenITmng3012CoreClassImportTest.class );
suite.addTestSuite( MavenITmng2972OverridePluginDependency.class );
suite.addTestSuite( MavenITmng2926PluginPrefixOrder.class );
suite.addTestSuite( MavenITmng2972OverridePluginDependencyTest.class );
suite.addTestSuite( MavenITmng2926PluginPrefixOrderTest.class );
suite.addTestSuite( MavenITmng2921ActiveAttachedArtifactsTest.class );
suite.addTestSuite( MavenITmng2892HideCorePlexusUtilsTest.class );
suite.addTestSuite( MavenITmng2878DefaultReportXmlImportTest.class );
suite.addTestSuite( MavenITmng2871PrePackageSubartifactResolutionTest.class );
suite.addTestSuite( MavenITmng2861RelocationsAndRanges.class );
suite.addTestSuite( MavenITmng2861RelocationsAndRangesTest.class );
suite.addTestSuite( MavenITmng2790LastUpdatedMetadataTest.class );
suite.addTestSuite( MavenITmng2749ExtensionAvailableToPluginTest.class );
suite.addTestSuite( MavenITmng2744checksumVerificationTest.class );
suite.addTestSuite( MavenITmng2739RequiredRepositoryElements.class );
suite.addTestSuite( MavenITmng2739RequiredRepositoryElementsTest.class );
suite.addTestSuite( MavenITmng2695OfflinePluginSnapshotsTest.class );
suite.addTestSuite( MavenITmng2562Timestamp.class );
suite.addTestSuite( MavenITmng2562TimestampTest.class );
suite.addTestSuite( MavenITmng2339BadProjectInterpolationTest.class );
suite.addTestSuite( MavenITmng2277AggregatorAndResolutionPluginsTest.class );
suite.addTestSuite( MavenITmng2254PomEncodingTest.class );
@ -153,10 +153,10 @@ MavenITmng3645POMSyntaxErrorTest
suite.addTestSuite( MavenITmng2045testJarDependenciesBrokenInReactorTest.class );
suite.addTestSuite( MavenITmng1999DefaultReportsInheritanceTest.class );
suite.addTestSuite( MavenITmng1703PluginMgmtDepInheritanceTest.class );
suite.addTestSuite( MavenITmng1493NonStandardModulePomNames.class );
suite.addTestSuite( MavenITmng1491ReactorArtifactIdCollision.class );
suite.addTestSuite( MavenITmng1493NonStandardModulePomNamesTest.class );
suite.addTestSuite( MavenITmng1491ReactorArtifactIdCollisionTest.class );
suite.addTestSuite( MavenITmng1412DependenciesOrderTest.class );
suite.addTestSuite( MavenITmng1323AntrunDependencies.class );
suite.addTestSuite( MavenITmng1323AntrunDependenciesTest.class );
suite.addTestSuite( MavenITmng0469ReportConfigTest.class );
suite.addTestSuite( MavenIT0141Test.class );
suite.addTestSuite( MavenIT0140Test.class );
@ -170,10 +170,10 @@ MavenITmng3645POMSyntaxErrorTest
suite.addTestSuite( MavenIT0132PomLifecycleTest.class );
suite.addTestSuite( MavenIT0131SiteLifecycleTest.class );
suite.addTestSuite( MavenIT0130CleanLifecycleTest.class );
suite.addTestSuite( MavenIT0129ResourceProvidedToAPluginAsAPluginDependency.class );
suite.addTestSuite( MavenIT0118AttachedArtifactsInReactor.class );
suite.addTestSuite( MavenIT0129ResourceProvidedToAPluginAsAPluginDependencyTest.class );
suite.addTestSuite( MavenIT0118AttachedArtifactsInReactorTest.class );
suite.addTestSuite( MavenIT0115CustomArtifactHandlerAndCustomLifecycleTest.class );
suite.addTestSuite( MavenIT0113ServerAuthzAvailableToWagonMgrInPlugin.class );
suite.addTestSuite( MavenIT0113ServerAuthzAvailableToWagonMgrInPluginTest.class );
suite.addTestSuite( MavenIT0110PluginDependenciesComeFromPluginReposTest.class );
suite.addTestSuite( MavenIT0107Test.class );
suite.addTestSuite( MavenIT0106Test.class );
@ -282,7 +282,7 @@ MavenITmng3645POMSyntaxErrorTest
// suite.addTestSuite( MavenITmng3530DynamicPOMInterpolationTest.class );
// suite.addTestSuite( MavenIT0108SnapshotUpdateTest.class ); -- MNG-3137
// suite.addTestSuite( MavenITmng3038TransitiveDepManVersion.class ); -- MNG-3038
// suite.addTestSuite( MavenITmng3038TransitiveDepManVersionTest.class ); -- MNG-3038
// suite.addTestSuite( MavenITmng3023ReactorDependencyResolutionTest.class ); -- MNG-3023
// suite.addTestSuite( MavenITmng2994SnapshotRangeRepositoryTest.class ); -- MNG-2994
// suite.addTestSuite( MavenITmng2771PomExtensionComponentOverrideTest.class ); -- MNG-2771

View File

@ -26,7 +26,7 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class MavenIT0113ServerAuthzAvailableToWagonMgrInPlugin
public class MavenIT0113ServerAuthzAvailableToWagonMgrInPluginTest
extends AbstractMavenIntegrationTestCase
{
public void testit0113()

View File

@ -26,7 +26,7 @@ import java.util.ArrayList;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
public class MavenIT0118AttachedArtifactsInReactor
public class MavenIT0118AttachedArtifactsInReactorTest
extends AbstractMavenIntegrationTestCase
{
public void testit0118()

View File

@ -26,7 +26,7 @@ import java.util.ArrayList;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
public class MavenIT0129ResourceProvidedToAPluginAsAPluginDependency
public class MavenIT0129ResourceProvidedToAPluginAsAPluginDependencyTest
extends AbstractMavenIntegrationTestCase
{
public void testit0129()

View File

@ -31,11 +31,11 @@ import org.apache.maven.it.util.ResourceExtractor;
* @author Benjamin Bentmann
* @version $Id$
*/
public class MavenITmng1323AntrunDependencies
public class MavenITmng1323AntrunDependenciesTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng1323AntrunDependencies()
public MavenITmng1323AntrunDependenciesTest()
{
super( "(2.999,)" );
}

View File

@ -25,7 +25,7 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenITmng1491ReactorArtifactIdCollision
public class MavenITmng1491ReactorArtifactIdCollisionTest
extends AbstractMavenIntegrationTestCase
{
public void testitMNG1491 ()

View File

@ -26,10 +26,10 @@ import java.util.List;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
public class MavenITmng1493NonStandardModulePomNames
public class MavenITmng1493NonStandardModulePomNamesTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng1493NonStandardModulePomNames()
public MavenITmng1493NonStandardModulePomNamesTest()
{
super( "(2.0.8,)" ); // 2.0.9+ (including snapshots)
}

View File

@ -24,9 +24,11 @@ import org.apache.maven.it.Verifier;
import java.io.File;
public class MavenITmng2562Timestamp extends AbstractMavenIntegrationTestCase {
public class MavenITmng2562TimestampTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng2562Timestamp()
public MavenITmng2562TimestampTest()
{
super( "[2.1.0-M1,)"); // 2.1.0+ only
}

View File

@ -36,10 +36,10 @@ import java.util.List;
* @author jdcasey
*
*/
public class MavenITmng2739RequiredRepositoryElements
public class MavenITmng2739RequiredRepositoryElementsTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng2739RequiredRepositoryElements()
public MavenITmng2739RequiredRepositoryElementsTest()
{
super( "(2.0.9,)" ); // only test in 2.0.9+
}

View File

@ -25,10 +25,10 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenITmng2861RelocationsAndRanges
public class MavenITmng2861RelocationsAndRangesTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng2861RelocationsAndRanges()
public MavenITmng2861RelocationsAndRangesTest()
{
super( "(2.0.8,)" );
}

View File

@ -31,7 +31,7 @@ import org.apache.maven.it.util.ResourceExtractor;
* @author Brian Fox
* @version $Id$
*/
public class MavenITmng2926PluginPrefixOrder
public class MavenITmng2926PluginPrefixOrderTest
extends AbstractMavenIntegrationTestCase
{
public void testitMNG2926()

View File

@ -31,11 +31,11 @@ import java.util.Properties;
* @author Benjamin Bentmann
* @version $Id$
*/
public class MavenITmng2972OverridePluginDependency
public class MavenITmng2972OverridePluginDependencyTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng2972OverridePluginDependency()
public MavenITmng2972OverridePluginDependencyTest()
{
super( "(2.0.8,)" );
}

View File

@ -32,7 +32,7 @@ import org.apache.maven.it.util.ResourceExtractor;
* @author Joakim Erdfelt
* @version $Id$
*/
public class MavenITmng3038TransitiveDepManVersion
public class MavenITmng3038TransitiveDepManVersionTest
extends AbstractMavenIntegrationTestCase
{
public void testitMNG3038()

View File

@ -40,10 +40,10 @@ import java.util.List;
* @author <a href="mailto:brianf@apache.org">Brian Fox</a>
*
*/
public class MavenITmng3099SettingsProfilesWithNoPOM
public class MavenITmng3099SettingsProfilesWithNoPomTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3099SettingsProfilesWithNoPOM()
public MavenITmng3099SettingsProfilesWithNoPomTest()
{
super( "(2.0.8,)" ); // 2.0.9+
}

View File

@ -31,10 +31,10 @@ import org.apache.maven.it.util.ResourceExtractor;
* when any of the activators are on.
*
*/
public class MavenITmng3106ProfileMultipleActivators
public class MavenITmng3106ProfileMultipleActivatorsTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3106ProfileMultipleActivators()
public MavenITmng3106ProfileMultipleActivatorsTest()
{
super( "(2.0.9,)" );
}

View File

@ -26,10 +26,10 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class MavenITmng3221InfiniteForking
public class MavenITmng3221InfiniteForkingTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3221InfiniteForking()
public MavenITmng3221InfiniteForkingTest()
{
super( "(2.0.8,2.99.99)" );
}

View File

@ -26,7 +26,7 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class MavenITmng3259DepsDroppedInMultiModuleBuild
public class MavenITmng3259DepsDroppedInMultiModuleBuildTest
extends AbstractMavenIntegrationTestCase
{
public void testitMNG3259 ()

View File

@ -26,10 +26,10 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class MavenITmng3268MultipleDashPCommandLine
public class MavenITmng3268MultipleDashPCommandLineTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3268MultipleDashPCommandLine()
public MavenITmng3268MultipleDashPCommandLineTest()
{
super( "(2.0.9,)" );
}

View File

@ -39,7 +39,7 @@ import org.apache.maven.it.util.ResourceExtractor;
* @author <a href="mailto:brianf@apache.org">Brian Fox</a>
*
*/
public class MavenITmng3331ModulePathNormalization
public class MavenITmng3331ModulePathNormalizationTest
extends AbstractMavenIntegrationTestCase
{
public void testitMNG3331a ()

View File

@ -42,7 +42,7 @@ import junit.framework.TestCase;
* @author <a href="mailto:brianf@apache.org">Brian Fox</a>
*
*/
public class MavenITmng3372DirectInvocationOfPlugins
public class MavenITmng3372DirectInvocationOfPluginsTest
extends TestCase
{

View File

@ -24,12 +24,12 @@ import java.io.File;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
public class MavenITmng3396DependencyManagementForOverConstrainedRanges
public class MavenITmng3396DependencyManagementForOverConstrainedRangesTest
extends AbstractMavenIntegrationTestCase
{
private static final String GROUP_ID = "org.apache.maven.its.mng3396";
public MavenITmng3396DependencyManagementForOverConstrainedRanges()
public MavenITmng3396DependencyManagementForOverConstrainedRangesTest()
{
super( "(2.0.8,)" ); // 2.0.9+
}

View File

@ -24,11 +24,11 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenITmng3475BaseAlignedDir
public class MavenITmng3475BaseAlignedDirTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3475BaseAlignedDir()
public MavenITmng3475BaseAlignedDirTest()
{
super( "[2.1.0-M1,)"); // 2.1.0+ only
}

View File

@ -26,11 +26,11 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class MavenITmng3535SelfReferentialProperties
public class MavenITmng3535SelfReferentialPropertiesTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3535SelfReferentialProperties()
public MavenITmng3535SelfReferentialPropertiesTest()
{
super( "[2.1.0-M1,2.99.99)" );
}

View File

@ -24,14 +24,18 @@ import org.apache.maven.it.Verifier;
import java.io.File;
public class MavenITmng3536AppendedAbsolutePaths extends AbstractMavenIntegrationTestCase {
public class MavenITmng3536AppendedAbsolutePathsTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3536AppendedAbsolutePaths()
public MavenITmng3536AppendedAbsolutePathsTest()
{
super( "[2.1.0-M1,)"); // 2.1.0+ only
}
public void testitMNG3536() throws Exception {
public void testitMNG3536()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(),
"/mng-3536" );
File pluginDir = new File( testDir, "plugin" );

View File

@ -31,10 +31,10 @@ import org.apache.maven.it.util.ResourceExtractor;
* Test activation and deactivation of profiles.
*
*/
public class MavenITmng3545ProfileDeactivation
public class MavenITmng3545ProfileDeactivationTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3545ProfileDeactivation()
public MavenITmng3545ProfileDeactivationTest()
{
super( "(2.0.9,)" );
}

View File

@ -24,10 +24,10 @@ import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenITmng3581PluginUsesWagonDependency
public class MavenITmng3581PluginUsesWagonDependencyTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3581PluginUsesWagonDependency()
public MavenITmng3581PluginUsesWagonDependencyTest()
{
// Not 2.0.9
super( "(,2.0.9),(2.0.9,)" );

View File

@ -37,7 +37,7 @@ import org.mortbay.jetty.Request;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.handler.AbstractHandler;
public class MavenITmng3599useHttpProxyForWebDAV
public class MavenITmng3599useHttpProxyForWebDAVTest
extends AbstractMavenIntegrationTestCase
{
private static final String LS = System.getProperty( "line.separator" );

View File

@ -35,7 +35,7 @@ import org.mortbay.jetty.Request;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.handler.AbstractHandler;
public class MavenITmng3652UserAgentHeader
public class MavenITmng3652UserAgentHeaderTest
extends AbstractMavenIntegrationTestCase
{
private Server server;
@ -44,7 +44,7 @@ public class MavenITmng3652UserAgentHeader
private String userAgent;
public MavenITmng3652UserAgentHeader()
public MavenITmng3652UserAgentHeaderTest()
{
super( "[2.1.0-M1,2.99.99)" );
}