Search in sources :

Example 1 with UIMessages

use of org.activityinfo.client.i18n.UIMessages 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);
}
Also used : JdbcDatabase(com.bedatadriven.rebar.sql.server.jdbc.JdbcDatabase) UIMessages(org.activityinfo.client.i18n.UIMessages) UIConstants(org.activityinfo.client.i18n.UIConstants) Before(org.junit.Before)

Aggregations

JdbcDatabase (com.bedatadriven.rebar.sql.server.jdbc.JdbcDatabase)1 UIConstants (org.activityinfo.client.i18n.UIConstants)1 UIMessages (org.activityinfo.client.i18n.UIMessages)1 Before (org.junit.Before)1