db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1404030 - /db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/util/BasePeerImplTest.java
Date Wed, 31 Oct 2012 08:34:53 GMT
Author: tfischer
Date: Wed Oct 31 08:34:52 2012
New Revision: 1404030

URL: http://svn.apache.org/viewvc?rev=1404030&view=rev
Log:
TORQUE-241 fix test

Modified:
    db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/util/BasePeerImplTest.java

Modified: db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/util/BasePeerImplTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/util/BasePeerImplTest.java?rev=1404030&r1=1404029&r2=1404030&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/util/BasePeerImplTest.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/util/BasePeerImplTest.java
Wed Oct 31 08:34:52 2012
@@ -39,8 +39,6 @@ import org.apache.torque.map.TableMap;
 import org.apache.torque.om.mapper.CompositeMapper;
 import org.apache.torque.om.mapper.IntegerMapper;
 import org.apache.torque.om.mapper.StringMapper;
-import org.apache.torque.sql.Query;
-import org.apache.torque.sql.SqlBuilder;
 import org.mockito.Mock;
 import org.mockito.MockitoAnnotations;
 
@@ -157,7 +155,7 @@ public class BasePeerImplTest extends Ba
         // verify mock
         verify(connection).prepareStatement(
                 "DELETE FROM schema.fully_qualified_table "
-                + "WHERE fully_qualified_table.column=?");
+                + "WHERE schema.fully_qualified_table.column=?");
         verify(preparedStatement).setInt(1, 42);
         verify(preparedStatement).executeUpdate();
         verify(preparedStatement).close();



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