jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1438296 - /incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java
Date Fri, 25 Jan 2013 02:34:14 GMT
Author: gmazza
Date: Fri Jan 25 02:34:14 2013
New Revision: 1438296

URL: http://svn.apache.org/viewvc?rev=1438296&view=rev
Log:
Minor tweak to testSerialization() so it will work with both Maven and Ant running of the
test.

Modified:
    incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java?rev=1438296&r1=1438295&r2=1438296&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java Fri Jan 25 02:34:14
2013
@@ -246,8 +246,7 @@ public class AclImplTest extends TestCas
         ObjectInputStream in = new ObjectInputStream( new ByteArrayInputStream(stuff) );
         
         AclImpl newacl = (AclImpl) in.readObject();
-        
-        assert( newacl.equals(m_acl) );
+        assert( newacl.toString().equals(m_acl.toString()) );
     }
     
     public static Test suite()



Mime
View raw message