[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/api ...
Manik Surtani
manik at jboss.org
Tue Jul 3 05:04:10 EDT 2007
User: msurtani
Date: 07/07/03 05:04:09
Modified: tests/functional/org/jboss/cache/api NodeSPITest.java
Log:
updated test
Revision Changes Path
1.6 +0 -11 JBossCache/tests/functional/org/jboss/cache/api/NodeSPITest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NodeSPITest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/api/NodeSPITest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- NodeSPITest.java 30 Jun 2007 22:38:40 -0000 1.5
+++ NodeSPITest.java 3 Jul 2007 09:04:09 -0000 1.6
@@ -112,7 +112,6 @@
Object newChild = "newChild";
root.addChild(new Fqn(childName));
Set childrenDirect = root.getChildrenDirect();
- Set childrenNamesDirect = root.getChildrenNamesDirect();
try
{
@@ -124,16 +123,6 @@
// good; should be immutable
}
- try
- {
- childrenNamesDirect.clear();
- fail("getChildrenNamesDirect() should return an unmodifiable collection object");
- }
- catch (UnsupportedOperationException uoe)
- {
- // good; should be immutable
- }
-
// now test defensive copy
root.addChild(new Fqn(newChild));
More information about the jboss-cvs-commits
mailing list