You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/12/15 09:43:00 UTC
svn commit: r1049456 -
/directory/apacheds/trunk/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/GenericIndexTest.java
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() );
}