public void setUp() throws Exception { super.setUp(); BLASTSearchEngine ncbiBLASTService = new StubbedBLASTSearchEngine(); Context context = getInstrumentation().getTargetContext(); OhBLASTItTestHelper helper = new OhBLASTItTestHelper(context); helper.cleanDatabase(); sender = new BLASTQuerySender(context, ncbiBLASTService); }
private void save(BLASTQuery query) { OhBLASTItTestHelper helper = new OhBLASTItTestHelper(context); helper.save(query); }
public void setUp() throws Exception { context = getInstrumentation().getTargetContext(); OhBLASTItTestHelper helper = new OhBLASTItTestHelper(context); helper.cleanDatabase(); }