db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1623681 - /db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java
Date Tue, 09 Sep 2014 07:54:11 GMT
Author: tfischer
Date: Tue Sep  9 07:54:10 2014
New Revision: 1623681

URL: http://svn.apache.org/r1623681
Log:
TORQUE-326 fix test

Modified:
    db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java

Modified: db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java?rev=1623681&r1=1623680&r2=1623681&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java
Tue Sep  9 07:54:10 2014
@@ -161,14 +161,13 @@ public class CriterionTest extends BaseT
     {
         Criterion criterion = new Criterion(stringColumnMap, "abc");
         criterion.or(new Criterion(stringColumnMap, "def"));
-        criterion.setIgnoreCase(true);
         Criterion copied = new Criterion(criterion);
         assertNull(criterion.getLValue());
         assertNull(criterion.getComparison());
         assertNull(criterion.getRValue());
         assertNull(copied.getSql());
         assertNull(copied.getPreparedStatementReplacements());
-        assertTrue(copied.isIgnoreCase());
+        assertFalse(copied.isIgnoreCase());
         assertEquals(criterion.getParts(), copied.getParts());
         assertNotSame(criterion.getParts().get(0), copied.getParts().get(0));
         assertNotSame(criterion.getParts().get(1), copied.getParts().get(1));



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