Search in sources :

Example 26 with SchedulerChecker

use of com.pushtorefresh.storio3.contentresolver.operations.SchedulerChecker in project storio by pushtorefresh.

the class PreparedGetCursorTest method getCursorSingleExecutesOnSpecifiedScheduler.

@Test
public void getCursorSingleExecutesOnSpecifiedScheduler() {
    final GetCursorStub getStub = GetCursorStub.newInstance();
    final SchedulerChecker schedulerChecker = SchedulerChecker.create(getStub.storIOSQLite);
    final PreparedGetCursor operation = getStub.storIOSQLite.get().cursor().withQuery(getStub.query).withGetResolver(getStub.getResolverForCursor).prepare();
    schedulerChecker.checkAsSingle(operation);
}
Also used : SchedulerChecker(com.pushtorefresh.storio3.sqlite.operations.SchedulerChecker) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)26 SchedulerChecker (com.pushtorefresh.storio3.contentresolver.operations.SchedulerChecker)13 SchedulerChecker (com.pushtorefresh.storio3.sqlite.operations.SchedulerChecker)13