db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker M2NGraphTest.java
Date Sat, 10 Jul 2004 19:54:17 GMT
arminw      2004/07/10 12:54:17

  Modified:    src/test/org/apache/ojb/broker M2NGraphTest.java
  Log:
  fix test case
  
  Revision  Changes    Path
  1.3       +3 -1      db-ojb/src/test/org/apache/ojb/broker/M2NGraphTest.java
  
  Index: M2NGraphTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/M2NGraphTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- M2NGraphTest.java	24 Jun 2004 21:58:53 -0000	1.2
  +++ M2NGraphTest.java	10 Jul 2004 19:54:17 -0000	1.3
  @@ -296,11 +296,13 @@
   
           // get the stored stuff vice versa
           retrievednodeA = (Node) broker.getObjectByIdentity(oidA);
  +        broker.retrieveReference(retrievednodeA, "children");
           assertNotNull(retrievednodeA);
           assertNotNull(retrievednodeA.getChildren());
           assertEquals(1, retrievednodeA.getChildren().size());
           retrievednodeB = (Node) retrievednodeA.getChildren().get(0);
           assertNotNull(retrievednodeB);
  +        broker.retrieveReference(retrievednodeB, "parents");
           assertNotNull(retrievednodeB.getParents());
           assertEquals(1, retrievednodeB.getParents().size());
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message