[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/passivation ...
Manik Surtani
msurtani at jboss.com
Tue Jan 2 08:30:29 EST 2007
User: msurtani
Date: 07/01/02 08:30:29
Modified: tests/functional/org/jboss/cache/passivation
PassivationTestsBase.java
Log:
- updated tests, javadocs
Revision Changes Path
1.24 +4 -4 JBossCache/tests/functional/org/jboss/cache/passivation/PassivationTestsBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PassivationTestsBase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/PassivationTestsBase.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- PassivationTestsBase.java 30 Dec 2006 19:48:47 -0000 1.23
+++ PassivationTestsBase.java 2 Jan 2007 13:30:29 -0000 1.24
@@ -38,7 +38,7 @@
* Base tests for passivation using any of the cache loaders
*
* @author <a href="mailto:{hmesha at novell.com}">{Hany Mesha}</a>
- * @version $Id: PassivationTestsBase.java,v 1.23 2006/12/30 19:48:47 msurtani Exp $
+ * @version $Id: PassivationTestsBase.java,v 1.24 2007/01/02 13:30:29 msurtani Exp $
*/
abstract public class PassivationTestsBase extends TestCase
{
@@ -411,7 +411,7 @@
cache.put("/a/b/c", null);
}
Set children = cache.getChildrenNames((Fqn) null); // get "null* node children names
- assertNull(children);
+ assertTrue(children.isEmpty());
}
catch (Exception e)
{
@@ -833,7 +833,7 @@
}
- public void testTxPutRollback() throws Exception, NotSupportedException
+ public void testTxPutRollback() throws Exception
{
DummyTransactionManager mgr = DummyTransactionManager.getInstance();
@@ -848,7 +848,7 @@
addDelay();
assertNull(cache.getKeys("/one/two/three"));
Set children = cache.getChildrenNames("/one");
- assertNull(children);
+ assertTrue(children.isEmpty());
assertFalse(loader.exists(Fqn.fromString("/one/two/three")));
assertFalse(loader.exists(Fqn.fromString("/one/two/three/four")));
}
More information about the jboss-cvs-commits
mailing list