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

Manik Surtani manik at jboss.org
Thu Apr 26 06:47:49 EDT 2007


  User: msurtani
  Date: 07/04/26 06:47:49

  Modified:    tests/functional/org/jboss/cache/optimistic 
                        ValidatorInterceptorTest.java
  Log:
  Updated tests to reflect JBCACHE-1026 fix
  
  Revision  Changes    Path
  1.18      +4 -4      JBossCache/tests/functional/org/jboss/cache/optimistic/ValidatorInterceptorTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ValidatorInterceptorTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/optimistic/ValidatorInterceptorTest.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- ValidatorInterceptorTest.java	7 Feb 2007 22:06:50 -0000	1.17
  +++ ValidatorInterceptorTest.java	26 Apr 2007 10:47:49 -0000	1.18
  @@ -293,10 +293,10 @@
   
         assertNotNull(node);
         node = (NodeSPI) node.getChild("one");
  -      assertEquals(new DefaultDataVersion(1), node.getVersion());
  +      assertEquals(new DefaultDataVersion(0), node.getVersion());
         assertNotNull(node);
         assertTrue(cache.exists(node.getFqn()));
  -      assertEquals(new DefaultDataVersion(1), node.getVersion());
  +
         node = (NodeSPI) node.getChild("two");
         assertNotNull(node);
         assertTrue(cache.exists(node.getFqn()));
  @@ -400,10 +400,10 @@
   
         assertNotNull(node);
         node = (NodeSPI) node.getChild("one");
  -      assertEquals(new DefaultDataVersion(1), node.getVersion());
  +      assertEquals(new DefaultDataVersion(0), node.getVersion());
         assertNotNull(node);
         assertTrue(cache.exists(node.getFqn()));
  -      assertEquals(new DefaultDataVersion(1), node.getVersion());
  +
         node = (NodeSPI) node.getChild("two");
         assertNotNull(node);
         assertTrue(cache.exists(node.getFqn()));
  
  
  



More information about the jboss-cvs-commits mailing list