db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torque-...@db.apache.org
Subject [DB Torque Wiki] Updated: UnitTestingWithTorque
Date Mon, 17 May 2004 23:53:54 GMT
   Date: 2004-05-17T16:53:54
   Editor: 67.166.116.227 <>
   Wiki: DB Torque Wiki
   Page: UnitTestingWithTorque
   URL: http://wiki.apache.org/db-torque/UnitTestingWithTorque

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -28,7 +28,7 @@
 
 === Criteria.equal() ===
 
-Could be the elegant solution, if equal() is written to ignore ordering issues.  Simply create
the correct Criteria object, and check if the Criteria object generated by the code under
test is equal() to it.  As of today (2004/05/17) I am experiencing mismatches between two
Criteria containing identical IN values for the same field, the difference being that one
was built from a List of Integer, and the other built from an array of int.  This could be
construed as a bug, but that's up to the class author.
+Could be the elegant solution, if equal() is written to ignore ordering issues.  Simply create
the correct Criteria object, and check if the Criteria object generated by the code under
test is equal() to it.  As of today (2004/05/17) I am experiencing mismatches between two
Criteria containing identical IN values for the same field, the difference being that one
was built from a List of Integer, and the other built from an array of int.  According to
the dev list, this (if true of course :) would be a bug.  I'll attempt to find the problem
and will update this entry accordingly.
 
 === Criteria.toString() ===
 

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message