db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker/sqlcount CollectionCountTest.java
Date Tue, 23 Dec 2003 10:03:33 GMT
brj         2003/12/23 02:03:33

  Modified:    src/test/org/apache/ojb/broker/sqlcount
                        CollectionCountTest.java
  Log:
  adapted testcase. 
  additional SELECT is executed to check m:n-implementors
  
  Revision  Changes    Path
  1.7       +3 -2      db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java
  
  Index: CollectionCountTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CollectionCountTest.java	10 Nov 2003 12:37:26 -0000	1.6
  +++ CollectionCountTest.java	23 Dec 2003 10:03:33 -0000	1.7
  @@ -163,8 +163,9 @@
       // INSERT INTO PERSON (ID,FIRSTNAME,LASTNAME) VALUES ('292','','')
       // SELECT TITLE,DESCRIPTION,ID FROM PROJECT WHERE ID = '88'
       // INSERT INTO PROJECT (ID,TITLE,DESCRIPTION) VALUES ('88','proj2','')
  +    // SELECT PROJECT_ID FROM PERSON_PROJECT WHERE PERSON_ID='292'      // BRJ: check mn-implementor
       // INSERT INTO PERSON_PROJECT (PERSON_ID,PROJECT_ID) VALUES ('292','88')
       // commit|
  -    assertStmtCount("insert second Person, singleton collection.", 5);
  +    assertStmtCount("insert second Person, singleton collection.", 6);
     }
   }
  
  
  

---------------------------------------------------------------------
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