Search in sources :

Example 1 with UiConstants

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

Aggregations

JdbcDatabase (com.bedatadriven.rebar.sql.server.jdbc.JdbcDatabase)1 UiConstants (org.activityinfo.i18n.shared.UiConstants)1 UiMessages (org.activityinfo.i18n.shared.UiMessages)1 Before (org.junit.Before)1