01: package jfb.tst.tools.activitymgr.core;
02:
03: import jfb.tools.activitymgr.core.DbException;
04: import jfb.tools.activitymgr.core.ModelMgr;
05: import jfb.tst.tools.activitymgr.AbstractModelTestCase;
06:
07: public class DbModelManagementTest extends AbstractModelTestCase {
08:
09: public void test01_InitialTablesDontExist() throws DbException {
10: assertEquals(false, ModelMgr.tablesExist());
11: }
12:
13: public void test02_TablesCreation() throws DbException {
14: //if (!ModelMgr.tablesExist()) {
15: ModelMgr.createTables();
16: //}
17: }
18:
19: public void test03_FinalTablesExist() throws DbException {
20: assertTrue(ModelMgr.tablesExist());
21: }
22: }
|