db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mka...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/odmg CollectionsTest.java
Date Fri, 18 Mar 2005 21:08:52 GMT
mkalen      2005/03/18 13:08:52

  Modified:    src/test/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        CollectionsTest.java
  Log:
  Make test reproducable by selecting back Gatherers in order.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.13.2.8  +3 -5      db-ojb/src/test/org/apache/ojb/odmg/CollectionsTest.java
  
  Index: CollectionsTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/CollectionsTest.java,v
  retrieving revision 1.13.2.7
  retrieving revision 1.13.2.8
  diff -u -r1.13.2.7 -r1.13.2.8
  --- CollectionsTest.java	18 Mar 2005 20:47:48 -0000	1.13.2.7
  +++ CollectionsTest.java	18 Mar 2005 21:08:52 -0000	1.13.2.8
  @@ -595,11 +595,9 @@
        */
       public void testUpdateWhenExchangeObjectsInCollection() throws Exception
       {
  -        // arminw: fixed
  -        //if(ojbSkipKnownIssueProblem("Exchanged collection objects will not be detected"))
return;
  -
           final String prefix = "testUpdateWhenExchangeObjectsInCollection" + System.currentTimeMillis();
  -        final String queryStr = "select gatherer from " + Gatherer.class.getName() + "
where gatId=$1 or gatId=$2";
  +        final String queryStr = "select gatherer from " + Gatherer.class.getName() +
  +                                " where gatId=$1 or gatId=$2 order by gatId asc";
   
           // prepare test case
           final String gat1Name = prefix + "_Gatherer";
  
  
  

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