You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2007/02/28 01:42:36 UTC
svn commit: r512524 -
/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0077Test.java
Author: jvanzyl
Date: Tue Feb 27 16:42:35 2007
New Revision: 512524
URL: http://svn.apache.org/viewvc?view=rev&rev=512524
Log:
o just use the normal local repository, we're just testing jar attachment
Modified:
maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0077Test.java
Modified: maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0077Test.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0077Test.java?view=diff&rev=512524&r1=512523&r2=512524
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0077Test.java (original)
+++ maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0077Test.java Tue Feb 27 16:42:35 2007
@@ -6,11 +6,11 @@
import java.io.File;
import java.util.ArrayList;
import java.util.List;
+import java.util.Properties;
public class MavenIT0077Test
extends AbstractMavenIntegrationTestCase
{
-
/**
* Test test jar attachment.
*/
@@ -20,14 +20,10 @@
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0077" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.deleteArtifact( "org.apache.maven.its.it0077", "sub1", "1.0", "test-jar" );
- List cliOptions = new ArrayList();
- cliOptions.add( "--settings settings.xml" );
- verifier.setCliOptions( cliOptions );
verifier.executeGoal( "install" );
verifier.assertArtifactPresent( "org.apache.maven.its.it0077", "sub1", "1.0", "test-jar" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
-
}
}