Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java44 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestion()
49 SuggestionCursor expected, int positionExpected, in assertSameSuggestion()
58 public static void assertSameSuggestions(SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions()
63 String message, SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions()
74 public static void assertSameSuggestionsNoOrder(SuggestionCursor expected, in assertSameSuggestionsNoOrder()
80 SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestionsNoOrder()
89 public static void assertContainsSuggestion(Suggestion expected, SuggestionCursor observed) { in assertContainsSuggestion()
DBlendingPromoterTest.java59 SuggestionCursor expected = cursor(); in testLimitZeroShortcutsPerSource() local
65 SuggestionCursor expected = cursor(mS11, mS21); in testLimitOneShortcutPerSource() local
71 SuggestionCursor expected = cursor(mS11, mS12, mS21, mS22); in testLimitTwoShortcutsPerSource() local
77 SuggestionCursor expected = cursor(mS11, mS12, mS21, mS22); in testLimitThreeShortcutsPerSource() local
83 SuggestionCursor expected = cursor(); in testLimitOneSourceZeroPromoted() local
89 SuggestionCursor expected = cursor(mS11); in testLimitOneSourceOnePromoted() local
95 SuggestionCursor expected = cursor(mS11, mS12); in testLimitOneSourceTwoPromoted() local
101 SuggestionCursor expected = cursor(); in testLimitNoShortcuts() local
107 SuggestionCursor expected = cursor(mS11, mS12); in testLimitZeroWebShortcuts() local
113 SuggestionCursor expected = cursor(mS11, mS12, mWeb1, mWeb2); in testLimitTwoWebShortcuts() local
DWebPromoterTest.java78 SuggestionCursor expected = slice(mCorpusResultWeb, 0, 1); in testZeroShortcuts() local
86 SuggestionCursor expected = cursor(mWeb1); in testZeroSuggestions() local
94 SuggestionCursor expected = concat(cursor(mWeb1), slice(mCorpusResultWeb, 0, 1)); in testOnlyWebPromoted() local
112 private void assertOnlyWebSuggestions(SuggestionCursor expected) { in assertOnlyWebSuggestions()
DShortcutRepositoryTest.java248 SuggestionData expected = new SuggestionData(CONTACTS_SOURCE) in testSpinnerWhileRefreshing() local
687 ListSuggestionCursor expected = new ListSuggestionCursor("a"); in testAppUpgradePromotesLowerRanked() local
865 void assertShortcuts(String query, SuggestionData... expected) { in assertShortcuts()
870 int position, SuggestionData expected) { in assertShortcutAtPosition()
890 boolean allowWebSearchShortcuts, SuggestionCursor expected) { in assertShortcuts()
900 SuggestionCursor expected) { in assertShortcuts()
909 boolean allowWebSearchShortcuts, SuggestionData... expected) { in assertShortcuts()
915 SuggestionData... expected) { in assertShortcuts()
919 void assertShortcuts(String message, String query, SuggestionData... expected) { in assertShortcuts()
923 private void assertHasHistory(boolean expected) { in assertHasHistory()
[all …]
DResultPromoterTest.java73 SuggestionCursor expected = cursor(mS11, mS12, mS21, mS22); in testOnlyResultShortcutsPromoted() local
79 SuggestionCursor expected = concat(mCorpusResult1, mCorpusResult2); in testOnlyResultSuggestionsPromoted() local
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapUtilityTests.java44 String[] expected; in testGetImapSequenceValues() local
99 String[] expected; in testGetImapRangeValues() local
DImapTestUtils.java45 public static final void assertElement(ImapElement expected, ImapElement actual) { in assertElement()
54 public static final void assertElement(String message, ImapElement expected, in assertElement()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java89 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_1Event() local
118 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_2StaggeredEvents() local
164 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_AllDayEventToday() local
205 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_AllDayEventTomorrow() local
246 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time in testGetAppWidgetModel_AllDayEventLater() local
/packages/apps/Camera/tests/src/com/android/camera/unittest/
DCameraUnitTest.java75 int[] expected; in testPrepareMatrix() local
102 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/
DCameraTest.java79 int[] expected; in testPrepareMatrix() local
106 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeySpecParserCsvTests.java52 private static void assertArrayEquals(String message, Object[] expected, Object[] actual) { in assertArrayEquals()
72 final String[] expected = (expectedArray.length == 0) ? null : expectedArray; in assertTextArray() local
76 private void assertError(String message, String value, String ... expected) { in assertError()
DKeySpecParserTests.java330 private static void assertArrayEquals(String message, Object[] expected, Object[] actual) { in assertArrayEquals()
349 String[] additionalMoreKeys, String[] expected) { in assertInsertAdditionalMoreKeys()
576 String[] expected, boolean expectedValue) { in assertGetBooleanValue()
614 String[] moreKeys, String[] expected, int expectedValue) { in assertGetIntValue()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java66 public static void assertImageRawData(Context context, byte[] expected, in assertImageRawData()
81 public static void assertImageRawData(Context context, byte[] expected, byte[] actual) { in assertImageRawData()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockNamedTaskExecutor.java47 public void assertPendingTaskCount(int expected) { in assertPendingTaskCount()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/anim/
DAnimationTest.java74 public static void assertFloatEq(float expected, float actual) { in assertFloatEq()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java70 private void assertFloat(float expected, String name1, String name2) { in assertFloat()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DDiscourseLoggerTest.java124 private void checkDiscourseStore(int storeSize, Object[] discource, String[] expected) { in checkDiscourseStore()
/packages/apps/Email/tests/src/com/android/email/activity/
DIntentUtilitiesTests.java77 public void checkGetIdFromIntent(String uri, long expected) { in checkGetIdFromIntent()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java183 private void assertCollapses(String message, boolean expected, CharSequence mimetype1, in assertCollapses()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupAccountTypeTests.java78 int expected = View.GONE; // Default is hidden in testEasOffered() local
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java264 OperationInfo[] expected = generateSortedWork(work, work.length - 1); in testCancel_simpleCancelLastTest() local
292 OperationInfo[] expected = new OperationInfo[4]; in testCancel_cancelSecondToLast() local
323 OperationInfo[] expected = new OperationInfo[3]; in testCancel_multipleCancels() local
530 ContentProviderResult[] expected = (ContentProviderResult[]) mWork[mIndex].result; in onBatchComplete() local
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DParseException.java116 StringBuffer expected = new StringBuffer(); in getMessage() local
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
DParseException.java116 StringBuffer expected = new StringBuffer(); in getMessage() local
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
DParseException.java116 StringBuffer expected = new StringBuffer(); in getMessage() local
/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
DUtilsTest.java196 public static void assertFloatEq(float expected, float actual) { in assertFloatEq()

12