Author: mircea.markus
Date: 2008-05-14 11:21:34 -0400 (Wed, 14 May 2008)
New Revision: 5847
Modified:
core/trunk/src/test/java/org/jboss/cache/DataContainerTest.java
Log:
JBCACHE-1338 - added unit test for DataContainer
Modified: core/trunk/src/test/java/org/jboss/cache/DataContainerTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/DataContainerTest.java 2008-05-14 12:40:27
UTC (rev 5846)
+++ core/trunk/src/test/java/org/jboss/cache/DataContainerTest.java 2008-05-14 15:21:34
UTC (rev 5847)
@@ -101,7 +101,7 @@
Configuration config = new Configuration();
config.setNodeLockingOptimistic(false);
DataVersion dataVersion = new DefaultDataVersion(2);
- container.injectDependencies(config, null);
+ container.setDependencies(config, null);
assert adfgNode == container.peekVersioned(adfg, dataVersion, true) : "if NOT
opt locking same value as peek(boolean, boolean) expected";
//test optimistic locking with same version