You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2006/08/18 05:39:11 UTC
svn commit: r432477 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java
Author: djd
Date: Thu Aug 17 20:39:11 2006
New Revision: 432477
URL: http://svn.apache.org/viewvc?rev=432477&view=rev
Log:
Removing throwing Exception from setting up the Suite for ClosedObjectTest.
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java?rev=432477&r1=432476&r2=432477&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java Thu Aug 17 20:39:11 2006
@@ -118,7 +118,7 @@
* @return a <code>Test</code> value
* @exception Exception if an error occurs while building the test suite
*/
- public static Test suite() throws Exception {
+ public static Test suite() {
TestSuite topSuite = new TestSuite();
TestSuite dsSuite = new TestSuite();
@@ -149,11 +149,9 @@
*
* @param suite the test suite to fill
* @param dsDecorator the decorator for the test suite
- * @exception Exception if an error occurs while filling the suite
*/
private static void fillDataSourceSuite(TestSuite suite,
DataSourceDecorator dsDecorator)
- throws Exception
{
TestSuite rsSuite = new TestSuite();
ResultSetObjectDecorator rsDecorator =
@@ -193,12 +191,10 @@
* @param decorator a decorator for the test (used for obtaining a
* closed object to test the method on)
* @param iface the interface which contains the methods to test
- * @exception Exception if an error occurs while filling the suite
*/
private static void fillObjectSuite(TestSuite suite,
ObjectDecorator decorator,
Class iface)
- throws Exception
{
for (Method m : iface.getMethods()) {
ClosedObjectTest cot = new ClosedObjectTest(m, decorator);