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

Ben Wang bwang at jboss.com
Mon Jul 17 05:57:35 EDT 2006


  User: bwang   
  Date: 06/07/17 05:57:35

  Modified:    tests-50/functional/org/jboss/cache/pojo 
                        ReplicatedObjectGraphTest.java
  Log:
  upd
  
  Revision  Changes    Path
  1.3       +3 -2      JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedObjectGraphTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ReplicatedObjectGraphTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedObjectGraphTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- ReplicatedObjectGraphTest.java	27 Jun 2006 09:19:31 -0000	1.2
  +++ ReplicatedObjectGraphTest.java	17 Jul 2006 09:57:35 -0000	1.3
  @@ -118,7 +118,7 @@
       *
       * @throws Exception
       */
  -   public void XtestCheckReplInstance() throws Exception
  +   public void testCheckReplInstance() throws Exception
      {
         log.info("testCheckReplInstance() ...");
         stage0();
  @@ -130,7 +130,8 @@
   
         Address joe1 = (Address) cache2.find("/address");
         assertEquals("Ben's address should not be changed ", joe.getAddress().getCity(), joe1.getCity());
  -      cache1.detach("/person/ben");
  +      ben = (Person)cache2.find("/person/ben");
  +      cache2.detach("/person/ben");
         Address joe2 = (Address) cache2.find("/address");
         assertEquals("Joe's reference should be the same.", joe1, joe2);
      }
  
  
  



More information about the jboss-cvs-commits mailing list