You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/07/19 17:39:50 UTC
svn commit: r1148405 -
/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java
Author: tfischer
Date: Tue Jul 19 15:39:49 2011
New Revision: 1148405
URL: http://svn.apache.org/viewvc?rev=1148405&view=rev
Log:
remove cleanBookstore method as it is already implemented in base test class
Modified:
db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java
Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java?rev=1148405&r1=1148404&r2=1148405&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java (original)
+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java Tue Jul 19 15:39:49 2011
@@ -89,21 +89,4 @@ public class ManagerTestConditional exte
assertTrue("TestInterfaceManager should create instances of TestInterface", ifc instanceof TestInterface);
assertTrue("TestInterfaceManager should also create instances of IfcTable", ifc instanceof IfcTable);
}
-
- /**
- * Deletes all authors and books in the bookstore tables
- * @throws Exception if the bookstore could not be cleaned
- */
- protected void cleanBookstore() throws Exception
- {
- Criteria criteria = new Criteria();
- criteria.add(BookPeer.BOOK_ID, (Long) null, Criteria.NOT_EQUAL);
- BookPeer.doDelete(criteria);
-
- criteria.clear();
- criteria.add(
- AuthorPeer.AUTHOR_ID,
- (Long) null, Criteria.NOT_EQUAL);
- AuthorPeer.doDelete(criteria);
- }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org