maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1074733 - /maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/WorkingDirectoryIT.java
Date Fri, 25 Feb 2011 22:45:59 GMT
Author: olamy
Date: Fri Feb 25 22:45:58 2011
New Revision: 1074733

URL: http://svn.apache.org/viewvc?rev=1074733&view=rev
Log:
remove extra debugging lines

Modified:
    maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/WorkingDirectoryIT.java

Modified: maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/WorkingDirectoryIT.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/WorkingDirectoryIT.java?rev=1074733&r1=1074732&r2=1074733&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/WorkingDirectoryIT.java
(original)
+++ maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/WorkingDirectoryIT.java
Fri Feb 25 22:45:58 2011
@@ -79,16 +79,13 @@ public class WorkingDirectoryIT
         assertNotNull( "user.dir was null in property file", userDirPath );
         File userDir = new File( userDirPath );
         // test if not a symlink
-        String message = "canonicalFile " + childTestDir.getCanonicalPath() + SystemUtils.LINE_SEPARATOR
 
-                        + " absolutePath " + childTestDir.getAbsolutePath() + SystemUtils.LINE_SEPARATOR
-                        + " path " + childTestDir.getPath() + SystemUtils.LINE_SEPARATOR;
         if ( childTestDir.getCanonicalFile().equals(childTestDir.getAbsoluteFile()) )
         {
-            assertEquals( "wrong user.dir ! symlink " + message, childTestDir.getAbsolutePath(),
userDir.getAbsolutePath() );
+            assertEquals( "wrong user.dir ! symlink ", childTestDir.getAbsolutePath(), userDir.getAbsolutePath()
);
         }
         else
         {
-            assertEquals( "wrong user.dir symlink " + message, childTestDir.getCanonicalPath(),
userDir.getCanonicalPath() );
+            assertEquals( "wrong user.dir symlink ", childTestDir.getCanonicalPath(), userDir.getCanonicalPath()
);
         }
     }
 



Mime
View raw message