db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r491224 - /db/torque/test/trunk/test-project/src/java/org/apache/torque/util/LargeSelectTest.java
Date Sat, 30 Dec 2006 14:08:02 GMT
Author: tfischer
Date: Sat Dec 30 06:08:01 2006
New Revision: 491224

URL: http://svn.apache.org/viewvc?view=rev&rev=491224
Log:
LargeSelectTest in the test project now displays the stack trace if the test data cannot be
saved.

Modified:
    db/torque/test/trunk/test-project/src/java/org/apache/torque/util/LargeSelectTest.java

Modified: db/torque/test/trunk/test-project/src/java/org/apache/torque/util/LargeSelectTest.java
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/test-project/src/java/org/apache/torque/util/LargeSelectTest.java?view=diff&rev=491224&r1=491223&r2=491224
==============================================================================
--- db/torque/test/trunk/test-project/src/java/org/apache/torque/util/LargeSelectTest.java
(original)
+++ db/torque/test/trunk/test-project/src/java/org/apache/torque/util/LargeSelectTest.java
Sat Dec 30 06:08:01 2006
@@ -62,14 +62,7 @@
         {
             Author author = new Author();
             author.setName(LARGE_SELECT_AUTHOR);
-            try
-            {
-                author.save();
-            }
-            catch (Exception e)
-            {
-                fail("Cannot create test data for LargeSelectTest.");
-            }
+            author.save();
             if (-1 == firstAuthorId)
             {
                 firstAuthorId = author.getAuthorId();



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