db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: jakarta-ojb/src/test/org/apache/ojb/broker GraphTest.java
Date Sun, 12 Jan 2003 16:50:58 GMT
arminw      2003/01/12 08:50:58

  Modified:    src/test/org/apache/ojb/broker GraphTest.java
  Log:
  fix test case running in DB
  using read-commited level
  (do no longer use deprecated Identity
  constructor)
  
  Revision  Changes    Path
  1.6       +9 -9      jakarta-ojb/src/test/org/apache/ojb/broker/GraphTest.java
  
  Index: GraphTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/broker/GraphTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- GraphTest.java	20 Dec 2002 01:54:58 -0000	1.5
  +++ GraphTest.java	12 Jan 2003 16:50:58 -0000	1.6
  @@ -81,25 +81,25 @@
   		GraphNode b = new GraphNode("B");
   		GraphNode c = new GraphNode("C");
   		Identity oid = new Identity(a);
  -		new Identity(b);
  -		new Identity(c);
  +		new Identity(b, broker);
  +		new Identity(c, broker);
   
   		GraphEdge aa = new GraphEdge(a, a);
   		GraphEdge ab = new GraphEdge(a, b);
   		GraphEdge bc = new GraphEdge(b, c);
   		GraphEdge ac = new GraphEdge(a, c);
  -		new Identity(aa);
  -		new Identity(ab);
  -		new Identity(bc);
  -		new Identity(ac);
  +		new Identity(aa, broker);
  +		new Identity(ab, broker);
  +		new Identity(bc, broker);
  +		new Identity(ac, broker);
   
   		Point locA = new Point(0, 0);
   		Point locB = new Point(1, 0);
   		Point locC = new Point(1, 1);
   
  -		new Identity(locA);
  -		new Identity(locB);
  -		new Identity(locC);
  +		new Identity(locA, broker);
  +		new Identity(locB, broker);
  +		new Identity(locC, broker);
   
   		broker.store(locA);
   		broker.store(locB);
  
  
  

Mime
View raw message