[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/api ...

Manik Surtani manik at jboss.org
Tue May 22 07:43:35 EDT 2007


  User: msurtani
  Date: 07/05/22 07:43:35

  Modified:    tests/functional/org/jboss/cache/api  NodeMoveAPITest.java
  Log:
  JBCACHE-1045 and made ICF a singleton
  
  Revision  Changes    Path
  1.23      +7 -1      JBossCache/tests/functional/org/jboss/cache/api/NodeMoveAPITest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: NodeMoveAPITest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/api/NodeMoveAPITest.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- NodeMoveAPITest.java	31 Jan 2007 02:40:23 -0000	1.22
  +++ NodeMoveAPITest.java	22 May 2007 11:43:35 -0000	1.23
  @@ -11,6 +11,7 @@
   import org.jboss.cache.misc.TestingUtil;
   
   import javax.transaction.TransactionManager;
  +import java.util.Map;
   import java.util.Random;
   import java.util.concurrent.CountDownLatch;
   
  @@ -272,7 +273,12 @@
   
         rootNode.put("key", "value");
   
  -      if (!pasv) assertEquals("value", loader.get(Fqn.ROOT).get("key"));
  +      if (!pasv)
  +      {
  +         Map m = loader.get(Fqn.ROOT);
  +         assertNotNull("Should not be null", m);
  +         assertEquals("value", m.get("key"));
  +      }
   
         nodeA = rootNode.addChild(A);
         nodeA.put(k, vA);
  
  
  



More information about the jboss-cvs-commits mailing list