Author: manik.surtani(a)jboss.com
Date: 2008-01-01 17:58:36 -0500 (Tue, 01 Jan 2008)
New Revision: 4930
Modified:
core/trunk/src/test/java/org/jboss/cache/api/NodeReplicatedMoveTest.java
Log:
Fixed broken test
Modified: core/trunk/src/test/java/org/jboss/cache/api/NodeReplicatedMoveTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/api/NodeReplicatedMoveTest.java 2008-01-01
22:48:04 UTC (rev 4929)
+++ core/trunk/src/test/java/org/jboss/cache/api/NodeReplicatedMoveTest.java 2008-01-01
22:58:36 UTC (rev 4930)
@@ -7,7 +7,6 @@
package org.jboss.cache.api;
import org.jboss.cache.Cache;
-import org.jboss.cache.CacheImpl;
import org.jboss.cache.CacheSPI;
import org.jboss.cache.DefaultCacheFactory;
import org.jboss.cache.Fqn;
@@ -132,7 +131,7 @@
private void assertInvalidated(Cache cache, Fqn fqn, String msg)
{
assert cache.getRoot().getChild(fqn) == null : msg;
- NodeSPI n = ((CacheImpl) cache).peek(fqn, true, true);
+ NodeSPI n = ((CacheSPI) cache).peek(fqn, true, true);
assert n != null : msg;
assert !n.isValid() : msg;
}
Show replies by date