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 2006/03/11 04:06:40 UTC

svn commit: r384996 - /maven/repository-manager/trunk/maven-repository-utils/src/test/java/org/apache/maven/repository/ArtifactUtilsTest.java

Author: brett
Date: Fri Mar 10 19:06:36 2006
New Revision: 384996

URL: http://svn.apache.org/viewcvs?rev=384996&view=rev
Log:
updates to get tests running again

Modified:
    maven/repository-manager/trunk/maven-repository-utils/src/test/java/org/apache/maven/repository/ArtifactUtilsTest.java

Modified: maven/repository-manager/trunk/maven-repository-utils/src/test/java/org/apache/maven/repository/ArtifactUtilsTest.java
URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-utils/src/test/java/org/apache/maven/repository/ArtifactUtilsTest.java?rev=384996&r1=384995&r2=384996&view=diff
==============================================================================
--- maven/repository-manager/trunk/maven-repository-utils/src/test/java/org/apache/maven/repository/ArtifactUtilsTest.java (original)
+++ maven/repository-manager/trunk/maven-repository-utils/src/test/java/org/apache/maven/repository/ArtifactUtilsTest.java Fri Mar 10 19:06:36 2006
@@ -52,7 +52,7 @@
 
         Artifact artifact = getArtifactFromPath( testPath );
 
-        assertNotNull( "Artifact should be null for short paths", artifact );
+        assertNull( "Artifact should be null for short paths", artifact );
     }
 
     public void testWrongArtifactId()
@@ -205,7 +205,6 @@
     }
 
     private Artifact getArtifactFromPath( String path )
-        throws ComponentLookupException
     {
         return ArtifactUtils.buildArtifact( path, factory );
     }