[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/aop/collection ...
Jason Thomas Greene
jgreene at jboss.com
Tue Feb 27 10:57:18 EST 2007
User: jgreene
Date: 07/02/27 10:57:18
Modified: tests/functional/org/jboss/cache/aop/collection Tag:
Branch_JBossCache_1_4_0 CachedMapAopTest.java
Log:
Fix JBCACHE-988
Revision Changes Path
No revision
No revision
1.11.2.1 +11 -1 JBossCache/tests/functional/org/jboss/cache/aop/collection/Attic/CachedMapAopTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CachedMapAopTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/collection/Attic/CachedMapAopTest.java,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -b -r1.11 -r1.11.2.1
--- CachedMapAopTest.java 25 Apr 2006 06:38:21 -0000 1.11
+++ CachedMapAopTest.java 27 Feb 2007 15:57:17 -0000 1.11.2.1
@@ -259,6 +259,16 @@
System.out.println(cache_.printDetails());
}
+ public void testNestedRemove() throws Exception
+ {
+ cache_.putObject("/outter", new HashMap());
+ Map map = (Map)cache_.getObject("/outter");
+ map.put("inner", new HashMap());
+ ((Map)map.get("inner")).put("foo", "bar");
+ map.remove("inner");
+ assertFalse(map.containsKey("inner"));
+ }
+
public static Test suite() throws Exception
{
return new TestSuite(CachedMapAopTest.class);
More information about the jboss-cvs-commits
mailing list