Home
last modified time | relevance | path

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

/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java240 private void addOwnerAttendeeToOps(ArrayList<ContentProviderOperation> expectedOps, int id) { in addOwnerAttendeeToOps() argument
245 expectedOps.add(b.build()); in addOwnerAttendeeToOps()
248 private void addOwnerAttendeeToOps(ArrayList<ContentProviderOperation> expectedOps) { in addOwnerAttendeeToOps() argument
253 expectedOps.add(b.build()); in addOwnerAttendeeToOps()
265 private void addAttendeeChangesOps(ArrayList<ContentProviderOperation> expectedOps) { in addAttendeeChangesOps() argument
270 expectedOps.add(b.build()); in addAttendeeChangesOps()
282 expectedOps.add(b.build()); in addAttendeeChangesOps()
402 ArrayList<ContentProviderOperation> expectedOps = new ArrayList<ContentProviderOperation>(); in verifySaveEventNewEvent() local
410 expectedOps.add(b.build()); in verifySaveEventNewEvent()
413 mHelper.saveRemindersWithBackRef(expectedOps, br_id, mModel1.mReminders, in verifySaveEventNewEvent()
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java36 private void verifyTargetOperations(String[] source, String[] target, int[] expectedOps, in verifyTargetOperations() argument
42 assertEquals("test error", target.length, expectedOps.length); in verifyTargetOperations()
47 assertEquals(expectedOps.length, ops.length); in verifyTargetOperations()
50 expectedOps[i], ops[i].getType()); in verifyTargetOperations()
51 if (expectedOps[i] == UNCHANGED) { in verifyTargetOperations()
53 } else if (expectedOps[i] == REPLACE) { in verifyTargetOperations()