[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/aop/loader ...
Manik Surtani
msurtani at jboss.com
Sun Dec 3 11:00:28 EST 2006
User: msurtani
Date: 06/12/03 11:00:28
Modified: tests/functional/org/jboss/cache/aop/loader Tag:
Branch_JBossCache_1_3_0 CacheLoaderTestsBase.java
Log:
wc
Revision Changes Path
No revision
No revision
1.8.2.1 +3 -1 JBossCache/tests/functional/org/jboss/cache/aop/loader/Attic/CacheLoaderTestsBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheLoaderTestsBase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/loader/Attic/CacheLoaderTestsBase.java,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -b -r1.8 -r1.8.2.1
--- CacheLoaderTestsBase.java 9 Mar 2006 20:15:30 -0000 1.8
+++ CacheLoaderTestsBase.java 3 Dec 2006 16:00:28 -0000 1.8.2.1
@@ -19,7 +19,7 @@
* Commons tests for all CacheLoaders. Aop version.
*
* @author bwang
- * @version $Id: CacheLoaderTestsBase.java,v 1.8 2006/03/09 20:15:30 smarlow Exp $
+ * @version $Id: CacheLoaderTestsBase.java,v 1.8.2.1 2006/12/03 16:00:28 msurtani Exp $
*/
abstract public class CacheLoaderTestsBase extends AbstractCacheLoaderTestBase {
TreeCacheAop cache;
@@ -64,9 +64,11 @@
cache.evict(Fqn.fromString("/first/second/third")); // removes node, because there are no children
addDelay();
assertFalse(cache.exists("/first/second/third"));
+ assertNull("Should not exist at all, even if marked for removal", cache.peek(Fqn.fromString("/first/second/third")));
assertTrue(cache.exists("/first/second"));
assertTrue(cache.exists("/first"));
String val = (String) cache.getObject("/first/second/third"); // should be loaded from cache loader
+
assertEquals("val1", val);
assertTrue(cache.exists("/first/second/third"));
assertTrue(cache.exists("/first/second"));
More information about the jboss-cvs-commits
mailing list