db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject cvs commit: db-torque/src/test/org/apache/torque/util CriteriaTest.java
Date Thu, 26 Aug 2004 16:48:23 GMT
henning     2004/08/26 09:48:22

  Modified:    src/test/org/apache/torque/util Tag: TORQUE_3_1_BRANCH
                        CriteriaTest.java
  Log:
  Test String and expected result are the wrong way around.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.20.2.4  +5 -5      db-torque/src/test/org/apache/torque/util/CriteriaTest.java
  
  Index: CriteriaTest.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/test/org/apache/torque/util/CriteriaTest.java,v
  retrieving revision 1.20.2.3
  retrieving revision 1.20.2.4
  diff -u -r1.20.2.3 -r1.20.2.4
  --- CriteriaTest.java	19 Jun 2004 04:30:36 -0000	1.20.2.3
  +++ CriteriaTest.java	26 Aug 2004 16:48:22 -0000	1.20.2.4
  @@ -393,13 +393,13 @@
   
           String cString = c.toString();
           //System.out.println(cString);
  -        assertEquals(cString, toStringExpect);
  +        assertEquals(toStringExpect, cString);
   
           // Note that this is intentially the same as above as the behaviour is
           // only observed on subsequent invocations of toString().
           cString = c.toString();
           //System.out.println(cString);
  -        assertEquals(cString, toStringExpect);
  +        assertEquals(toStringExpect, cString);
       }
   
       /**
  @@ -421,13 +421,13 @@
   
           String cString = c.toString();
           //System.out.println(cString);
  -        assertEquals(cString, toStringExpect);
  +        assertEquals(toStringExpect, cString);
   
           // Note that this is intentially the same as above as the behaviour is
           // only observed on subsequent invocations of toString().
           cString = c.toString();
           //System.out.println(cString);
  -        assertEquals(cString, toStringExpect);
  +        assertEquals(toStringExpect, cString);
       }
   
       /**
  
  
  

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