commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1688751 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java
Date Wed, 01 Jul 2015 23:18:58 GMT
Author: ecki
Date: Wed Jul  1 23:18:58 2015
New Revision: 1688751

URL: http://svn.apache.org/r1688751
Log:
Relax idendity test requirements (part of VFS-550)

Modified:
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java?rev=1688751&r1=1688750&r2=1688751&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderWriteTests.java
Wed Jul  1 23:18:58 2015
@@ -671,7 +671,7 @@ public class ProviderWriteTests
         {
             assertTrue("Unexpected create event", events.size() > 0);
             assertSame("Expecting a create event", CREATE, events.remove(0));
-            assertSame(file, event.getFile());
+            assertEquals(file, event.getFile());
             try
             {
                 assertTrue(file.exists());
@@ -690,7 +690,7 @@ public class ProviderWriteTests
         {
             assertTrue("Unexpected delete event", events.size() > 0);
             assertSame("Expecting a delete event", DELETE, events.remove(0));
-            assertSame(file, event.getFile());
+            assertEquals(file, event.getFile());
             try
             {
                 assertTrue(!file.exists());
@@ -706,7 +706,7 @@ public class ProviderWriteTests
         {
             assertTrue("Unexpected changed event", events.size() > 0);
             assertSame("Expecting a changed event", CHANGED, events.remove(0));
-            assertSame(file, event.getFile());
+            assertEquals(file, event.getFile());
             try
             {
                 assertTrue(!file.exists());



Mime
View raw message