You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2008/03/05 01:01:00 UTC

svn commit: r633717 - /maven/core-integration-testing/trunk/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java

Author: brett
Date: Tue Mar  4 16:00:48 2008
New Revision: 633717

URL: http://svn.apache.org/viewvc?rev=633717&view=rev
Log:
correct the sample

Modified:
    maven/core-integration-testing/trunk/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java

Modified: maven/core-integration-testing/trunk/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java?rev=633717&r1=633716&r2=633717&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java (original)
+++ maven/core-integration-testing/trunk/maven-integration-test-sample/src/test/java/org/apache/maven/itSample/MavenITmngXXXXDescriptionOfProblemTest.java Tue Mar  4 16:00:48 2008
@@ -4,6 +4,7 @@
 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;
@@ -24,6 +25,12 @@
 public class MavenITmngXXXXDescriptionOfProblemTest
     extends AbstractMavenIntegrationTestCase
 {
+    public MavenITmngXXXXDescriptionOfProblemTest()
+        throws InvalidVersionSpecificationException
+    {
+        super( "(2.0.8,)" ); // only test in 2.0.9+
+    }
+
     public void testitMNGxxxx ()
         throws Exception
     {
@@ -60,6 +67,7 @@
          */
         List cliOptions = new ArrayList();
         cliOptions.add( "-N" );
+        verifier.setCliOptions( cliOptions );
         verifier.executeGoal( "install" );
 
         /*