Home
last modified time | relevance | path

Searched refs:testCursor (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCursorWindowTest.java24 MatrixCursor testCursor = new MatrixCursor(new String[] { "a", "b", "c", "d"}); in shouldFillWindowWithCursor() local
25testCursor.addRow(new Object[] { 12, "hello", null, new byte[] {(byte) 0xba, (byte) 0xdc, (byte) 0… in shouldFillWindowWithCursor()
26 testCursor.addRow(new Object[] { 34, "baz", 1.2, null }); in shouldFillWindowWithCursor()
27 testCursor.addRow(new Object[] { 46, "foo", 2.4, new byte[]{} }); in shouldFillWindowWithCursor()
29 DatabaseUtils.cursorFillWindow(testCursor, 0, window); in shouldFillWindowWithCursor()
DShadowContentResolverTest.java237 QueryParamTrackingCursor testCursor = new QueryParamTrackingCursor(); in query_shouldKnowWhatItsParamsWere() local
239 shadowContentResolver.setCursor(testCursor); in query_shouldKnowWhatItsParamsWere()
241 assertThat((QueryParamTrackingCursor) cursor).isEqualTo(testCursor); in query_shouldKnowWhatItsParamsWere()
242 assertThat(testCursor.uri).isEqualTo(uri21); in query_shouldKnowWhatItsParamsWere()
243 assertThat(testCursor.projection).isEqualTo(projection); in query_shouldKnowWhatItsParamsWere()
244 assertThat(testCursor.selection).isEqualTo(selection); in query_shouldKnowWhatItsParamsWere()
245 assertThat(testCursor.selectionArgs).isEqualTo(selectionArgs); in query_shouldKnowWhatItsParamsWere()
246 assertThat(testCursor.sortOrder).isEqualTo(sortOrder); in query_shouldKnowWhatItsParamsWere()