use of com.orm.androrm.DatabaseAdapter in project androrm by androrm.
the class ModelRegression method tearDown.
@Override
public void tearDown() {
DatabaseAdapter adapter = DatabaseAdapter.getInstance(getContext());
adapter.drop();
}
use of com.orm.androrm.DatabaseAdapter in project androrm by androrm.
the class QueryRegression method testDumbClassName.
public void testDumbClassName() {
List<Class<? extends Model>> models = new ArrayList<Class<? extends Model>>();
models.add(Transaction.class);
DatabaseAdapter adapter = DatabaseAdapter.getInstance(getContext());
try {
adapter.setModels(models);
} catch (Exception e) {
fail();
}
}
use of com.orm.androrm.DatabaseAdapter in project androrm by androrm.
the class FilterTest method setUp.
public void setUp() {
List<Class<? extends Model>> models = new ArrayList<Class<? extends Model>>();
models.add(Brand.class);
models.add(Person.class);
models.add(Car.class);
DatabaseAdapter adapter = DatabaseAdapter.getInstance(getContext());
adapter.setModels(models);
}
use of com.orm.androrm.DatabaseAdapter in project androrm by androrm.
the class FilterTest method tearDown.
public void tearDown() {
DatabaseAdapter adapter = DatabaseAdapter.getInstance(getContext());
adapter.drop();
}
use of com.orm.androrm.DatabaseAdapter in project androrm by androrm.
the class QuerySetTest method tearDown.
public void tearDown() {
DatabaseAdapter adapter = DatabaseAdapter.getInstance(getContext());
adapter.drop();
}
Aggregations