use of com.bedatadriven.rebar.sql.server.jdbc.JdbcDatabase in project activityinfo by bedatadriven.
the class LocalHandlerTestCase method setUp.
@Before
public void setUp() throws SQLException, ClassNotFoundException {
System.err.println("Sqlite database = " + databaseName);
localDatabase = new JdbcDatabase(databaseName.getAbsolutePath());
// default is db owner
setUser(1);
uiConstants = createNiceMock(UiConstants.class);
uiMessages = createNiceMock(UiMessages.class);
replay(uiConstants, uiMessages);
}
use of com.bedatadriven.rebar.sql.server.jdbc.JdbcDatabase in project activityinfo by bedatadriven.
the class LocalHandlerTestCase method setUp.
@Before
public void setUp() throws SQLException, ClassNotFoundException {
System.err.println("Sqlite database = " + databaseName);
localDatabase = new JdbcDatabase(databaseName);
// default is db owner
setUser(1);
uiConstants = createNiceMock(UIConstants.class);
uiMessages = createNiceMock(UIMessages.class);
replay(uiConstants, uiMessages);
}
Aggregations