directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1049456 - /directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/GenericIndexTest.java
Date Wed, 15 Dec 2010 08:43:00 GMT
Author: seelmann
Date: Wed Dec 15 08:43:00 2010
New Revision: 1049456

URL: http://svn.apache.org/viewvc?rev=1049456&view=rev
Log:
Fix test under Windows

Modified:
    directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/GenericIndexTest.java

Modified: directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/GenericIndexTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/GenericIndexTest.java?rev=1049456&r1=1049455&r2=1049456&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/GenericIndexTest.java
(original)
+++ directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/GenericIndexTest.java
Wed Dec 15 08:43:00 2010
@@ -113,7 +113,7 @@ public class GenericIndexTest
 
         index.setWkDirPath( zzzDir.toURI() );
         assertNotNull( index.getWkDirPath() );
-        assertEquals( zzzDir.getPath(), index.getWkDirPath().getPath() );
+        assertEquals( zzzDir, new File( index.getWkDirPath() ) );
         index.setWkDirPath( null );
         assertNull( index.getWkDirPath() );
     }



Mime
View raw message