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 Apache Wiki <wi...@apache.org> on 2007/04/13 16:05:59 UTC
[Db-derby Wiki] Update of "DerbyJunitTestConfiguration" by JohnHEmbretsen
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.
The following page has been changed by JohnHEmbretsen:
http://wiki.apache.org/db-derby/DerbyJunitTestConfiguration
The comment on the change is:
Fixed bugs in a code example
------------------------------------------------------------------------------
suite.addTest(baseSuite());
// run as client server
- suite.addTest(TestConfiguration.clientServerDecorator(baseSuite());
+ suite.addTest(TestConfiguration.clientServerDecorator(baseSuite()));
return new CleanDatabaseTestSetup(suite);
}
private static Test baseSuite() {
TestSuite suite = new TestSuite(MyTest.class)
if (JDBC.vmSupportsJDBC3()) {
- suite.addTest("jdbc3SomeTestCase");
+ suite.addTest(new MyTestCase("jdbc3SomeTestCase"));
}
return suite;
}