db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: jakarta-ojb/src/test/org/apache/ojb/broker PersistenceBrokerTest.java TransactionDemarcationTest.java
Date Sun, 08 Dec 2002 12:44:53 GMT
brj         2002/12/08 04:44:53

  Modified:    src/test/org/apache/ojb/broker PersistenceBrokerTest.java
                        TransactionDemarcationTest.java
  Log:
  test data no longer violates referential integrity
  
  Revision  Changes    Path
  1.18      +1 -1      jakarta-ojb/src/test/org/apache/ojb/broker/PersistenceBrokerTest.java
  
  Index: PersistenceBrokerTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/broker/PersistenceBrokerTest.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- PersistenceBrokerTest.java	28 Oct 2002 15:48:34 -0000	1.17
  +++ PersistenceBrokerTest.java	8 Dec 2002 12:44:53 -0000	1.18
  @@ -220,7 +220,7 @@
   	{
   		try
   		{
  -			int groupId = 23;
  +			int groupId = 7;
   			Article a = createArticle(300 * testId);
   			a.setProductGroupId(groupId);
   
  
  
  
  1.3       +1 -1      jakarta-ojb/src/test/org/apache/ojb/broker/TransactionDemarcationTest.java
  
  Index: TransactionDemarcationTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/broker/TransactionDemarcationTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TransactionDemarcationTest.java	13 Aug 2002 18:06:53 -0000	1.2
  +++ TransactionDemarcationTest.java	8 Dec 2002 12:44:53 -0000	1.3
  @@ -226,7 +226,7 @@
           a.setMinimumStock(100);
           a.setOrderedUnits(17);
           a.setPrice(0.45);
  -        a.setProductGroupId(111);
  +        a.setProductGroupId(7);
           a.setStock(234);
           a.setSupplierId(4);
           a.setUnit("bottle");
  
  
  

Mime
View raw message