fixed the versions on some recent its

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@636105 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brian E Fox 2008-03-11 21:14:37 +00:00
parent dae8459d47
commit 7906b1b47e
4 changed files with 29 additions and 5 deletions

View File

@ -183,7 +183,11 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenITmng3341MetadataUpdatedFromDeploymentRepositoryTest.class );
suite.addTestSuite( MavenITmng3394POMPluginVersionDominanceTest.class );
suite.addTestSuite( MavenITmng2861RelocationsAndRanges.class );
suite.addTestSuite( MavenITmng2972OverridePluginDependency.class );
//not fixed in the code yet. Test is correct.
//suite.addTestSuite( MavenITmng3284UsingCachedPluginsTest.class );
// ----------------------------------------------------------------------------------------------------
// Tests that need to be fixed.
// ----------------------------------------------------------------------------------------------------

View File

@ -4,6 +4,7 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
import org.apache.maven.integrationtests.AbstractMavenIntegrationTestCase;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
@ -12,6 +13,13 @@ import org.apache.maven.it.util.ResourceExtractor;
public class MavenITmng2123VersionRangeDependencyTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng2123VersionRangeDependencyTest()
throws InvalidVersionSpecificationException
{
super( "(2.0.8,)" );
}
public void testitMNG2123 ()
throws Exception
{

View File

@ -4,6 +4,7 @@ import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
import org.apache.maven.integrationtests.AbstractMavenIntegrationTestCase;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
@ -12,6 +13,12 @@ import org.apache.maven.it.util.ResourceExtractor;
public class MavenITmng2861RelocationsAndRanges
extends AbstractMavenIntegrationTestCase
{
public MavenITmng2861RelocationsAndRanges()
throws InvalidVersionSpecificationException
{
super( "(2.0.8,)" );
}
public void testitMNG2123 ()
throws Exception
{

View File

@ -1,13 +1,12 @@
package org.apache.maven.integrationtests;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import junit.framework.Assert;
import org.apache.maven.integrationtests.AbstractMavenIntegrationTestCase;
import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
@ -17,6 +16,12 @@ import org.apache.maven.it.util.ResourceExtractor;
public class MavenITmng3284UsingCachedPluginsTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3284UsingCachedPluginsTest()
throws InvalidVersionSpecificationException
{
super( "(2.0.8,)" );
}
public void testitMNG3284Test()
throws Exception
{
@ -65,8 +70,8 @@ public class MavenITmng3284UsingCachedPluginsTest
verifier.resetStreams();
Assert.assertEquals( "Should be using plugin version 1 only once", 1,foundVersionOne );
Assert.assertEquals( "Should be using plugin version 2 only once", 1,foundVersionTwo );
Assert.assertEquals( "Should be using plugin version 1 only once.", 1,foundVersionOne );
Assert.assertEquals( "Should be using plugin version 2 only once.", 1,foundVersionTwo );
}
}