db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r711327 - /db/ddlutils/trunk/src/test/java/org/apache/ddlutils/task/TestWriteDataToDatabaseCommand.java
Date Tue, 04 Nov 2008 17:42:42 GMT
Author: tomdz
Date: Tue Nov  4 09:42:42 2008
New Revision: 711327

URL: http://svn.apache.org/viewvc?rev=711327&view=rev
Log:
Fixed the test case

Modified:
    db/ddlutils/trunk/src/test/java/org/apache/ddlutils/task/TestWriteDataToDatabaseCommand.java

Modified: db/ddlutils/trunk/src/test/java/org/apache/ddlutils/task/TestWriteDataToDatabaseCommand.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/test/java/org/apache/ddlutils/task/TestWriteDataToDatabaseCommand.java?rev=711327&r1=711326&r2=711327&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/java/org/apache/ddlutils/task/TestWriteDataToDatabaseCommand.java
(original)
+++ db/ddlutils/trunk/src/test/java/org/apache/ddlutils/task/TestWriteDataToDatabaseCommand.java
Tue Nov  4 09:42:42 2008
@@ -99,7 +99,7 @@
 
         runTask(getDatabaseToDdlTaskInstance(), dataXml, false, false);
 
-        List beans = getRows("roundtrip");
+        List beans = getRows("roundtrip", "pk");
 
         assertEquals(3, beans.size());
         assertEquals((Object)"val1", beans.get(0), "pk");
@@ -139,7 +139,7 @@
 
         runTask(getDatabaseToDdlTaskInstance(), dataXml.toString(), true, false);
 
-        List beans = getRows("roundtrip");
+        List beans = getRows("roundtrip", "avalue");
 
         assertEquals(numObjs, beans.size());
         for (int idx = 0; idx < numObjs; idx++)



Mime
View raw message