[jboss-cvs] JBossAS SVN: r63646 - trunk/testsuite/src/main/org/jboss/test/cluster/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jun 26 13:56:48 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-06-26 13:56:48 -0400 (Tue, 26 Jun 2007)
New Revision: 63646
Modified:
trunk/testsuite/src/main/org/jboss/test/cluster/test/ScopedTestCase.java
Log:
Fix inequality assertion
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/test/ScopedTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/test/ScopedTestCase.java 2007-06-26 17:55:19 UTC (rev 63645)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/test/ScopedTestCase.java 2007-06-26 17:56:48 UTC (rev 63646)
@@ -224,8 +224,8 @@
String attr2 = makeGet(client, baseURL1_ +getUrl);
// Check the result
- assertNotSame("Old attribute should be different from new one.",
- attrOld, attr);
+ assertFalse("Old attribute should be different from new one.",
+ attrOld.equals(attr));
assertEquals("Attributes should be the same", attr, attr2);
getLog().debug("Exit testNonPrimitiveModify");
}
@@ -265,8 +265,8 @@
String attr2 = makeGetWithState(client, baseURL1_ +getUrl);
// Check the result
- assertNotSame("Old attribute should be different from new one.",
- attrOld, attr);
+ assertFalse("Old attribute should be different from new one.",
+ attrOld.equals(attr));
assertEquals("Attributes should be the same", attr, attr2);
More information about the jboss-cvs-commits
mailing list