Searched refs:fakeCursor (Results 1 – 2 of 2) sorted by relevance
219 try (final Cursor fakeCursor = generateCursorForFakeCategories(categoryCount)) { in testGetCategories() argument220 fakeCursor.moveToFirst(); in testGetCategories()221 final Category fakeFirstCategory = Category.fromCursor(fakeCursor, UserId.CURRENT_USER); in testGetCategories()222 fakeCursor.moveToNext(); in testGetCategories()223 final Category fakeSecondCategory = Category.fromCursor(fakeCursor, in testGetCategories()225 mItemsProvider.setCategoriesCursor(fakeCursor); in testGetCategories()227 fakeCursor.moveToPosition(-1); in testGetCategories()
322 FakeCursor fakeCursor = mCursors.get(uri); in setUp()324 fakeCursor.setProjection(projection); in setUp()326 fakeCursor.nextRow = 0; in setUp()327 return fakeCursor; in setUp()