*
* @return An instance of <code>Test</code> with the implemented tests to
* run.
*/
public static Test suite() {
BaseTestSuite suite = new BaseTestSuite("Bug5054Test");
Test test = new CleanDatabaseTestSetup(TestConfiguration
.embeddedSuite(Bug5054Test.class)) {
protected void decorateSQL(Statement stmt) throws SQLException {
stmt.executeUpdate("CREATE TABLE T1 (a integer, b integer)");
stmt.executeUpdate("INSERT INTO T1 VALUES(1, 1)");
stmt.executeUpdate("INSERT INTO T1 VALUES(2, 2)");
}
};
suite.addTest(test);
suite.addTest(TestConfiguration.clientServerDecorator(test));
return suite;
}