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 NestedFieldsTest.java
Date Wed, 03 Mar 2004 21:03:16 GMT
brj         2004/03/03 13:03:16

  Modified:    src/test/org/apache/ojb/broker NestedFieldsTest.java
  Log:
  tried to fix intermittent failure of testDeleteNestedField
  
  Revision  Changes    Path
  1.6       +1 -1      db-ojb/src/test/org/apache/ojb/broker/NestedFieldsTest.java
  
  Index: NestedFieldsTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/NestedFieldsTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- NestedFieldsTest.java	23 Jan 2004 23:45:38 -0000	1.5
  +++ NestedFieldsTest.java	3 Mar 2004 21:03:16 -0000	1.6
  @@ -236,7 +236,7 @@
           assertNull("Object was not deleted", nested);
   
           Criteria crit = new Criteria();
  -        crit.addLike("name", entryName);
  +        crit.addEqualTo("name", entryName);
           Query query = QueryFactory.newQuery(NestedEntry.class, crit);
           Collection result = broker.getCollectionByQuery(query);
           assertEquals(0, result.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