ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r953381 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java
Date Thu, 10 Jun 2010 16:32:51 GMT
Author: bodewig
Date: Thu Jun 10 16:32:50 2010
New Revision: 953381

URL: http://svn.apache.org/viewvc?rev=953381&view=rev
Log:
remove redundant assertions, they are already contained in testantOnRemoteShare

Modified:
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java?rev=953381&r1=953380&r2=953381&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java Thu Jun 10
16:32:50 2010
@@ -149,10 +149,7 @@ public class LocatorTest extends TestCas
      */
     public void testFileFromRemoteShare() throws Throwable {
         String resolved = Locator.fromJarURI(SHARED_JAR_URI);
-        assertResolved(SHARED_JAR_URI, LAUNCHER_JAR, resolved, unix);
-        assertResolved(SHARED_JAR_URI, LAUNCHER_JAR.replace('/', '\\'),
-                       resolved, windows);
-        File f=new File(resolved);
+        File f = new File(resolved);
         String path = f.getAbsolutePath();
         if (windows) {
             assertEquals(0, path.indexOf("\\\\"));



Mime
View raw message