Home
last modified time | relevance | path

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

12345

/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()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DUtilsTest.java36 final SpannableString expected = new SpannableString(entire); in testInsertStringWithStyle() local
48 final SpannableString expected = new SpannableString(entire); in testInsertStringWithStyle_substringNotInEntire() local
53 public static void assertSpannedEquals(Spanned expected, Spanned actual) { in assertSpannedEquals()
69 TextAppearanceSpan expected, TextAppearanceSpan actual) { in assertTextAppearanceSpanEquals()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java43 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFile() local
64 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFileNoExtension() local
72 final File expected = new File(getContext().getFilesDir(), "meow"); in testGenerateSaveFileHint() local
82 final File expected = new File(getContext().getFilesDir(), "real.mp4"); in testGenerateSaveFileDisposition() local
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java87 final String expected = getContext() in testGetProfileAccountInfo_NonLocalAccount() local
101 final String expected = getContext().getString(R.string.local_profile_title); in testGetProfileAccountInfo_DeviceLocalAccount() local
112 final String expected = getContext().getString(R.string.account_type_format, DISPLAY_LABEL); in testGetAccountInfo_AccountType_NonGoogle() local
123 final String expected = getContext().getString(R.string.google_account_type_format, in testGetAccountInfo_AccountType_Google() local
136 final String expected = getContext().getString(R.string.account_phone); in testGetAccountInfo_AccountType_DeviceAccount() local
/packages/apps/Camera2/tests/src/com/android/camera/unittest/
DCameraUnitTest.java31 int[] expected; in testPrepareMatrix() local
58 private void assertEquals(int expected[], float[] actual) { in assertEquals()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/database/
DMoreDatabaseUtilTest.java37 String expected = "create index testtable_testfield_index on testtable(testfield)"; in testBuildIndex() local
48 String expected = "drop index if exists testtable_testfield_index"; in testDropIndex() local
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapUtilityTests.java43 String[] expected; in testGetImapSequenceValues() local
98 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/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/
DMoreKeySpecTests.java56 private static void assertArrayEquals(final String message, final Object[] expected, in assertArrayEquals()
76 final String[] moreKeys, final String[] additionalMoreKeys, final String[] expected) { in assertInsertAdditionalMoreKeys()
304 final String[] moreKeys, final String[] expected, final boolean expectedValue) { in assertGetBooleanValue()
343 final int defaultValue, final String[] moreKeys, final String[] expected, in assertGetIntValue()
DMoreKeySpecSplitTests.java45 static <T> void assertArrayEquals(final String message, final T[] expected, final T[] actual) { in assertArrayEquals()
71 final String[] expected = (expectedArray.length == 0) ? null : expectedArray; in assertTextArray() local
75 private void assertError(final String message, final String value, final String ... expected) { in assertError()
DMoreKeySpecStringReferenceTests.java49 final String[] expected = (expectedArray.length == 0) ? null : expectedArray; in assertTextArray() local
53 private void assertError(final String message, final String value, final String ... expected) { in assertError()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java106 public static void equals(final int expected, final int actual) { in equals()
112 public static void equals(final long expected, final long actual) { in equals()
118 public static void equals(final Object expected, final Object actual) { in equals()
125 public static void oneOf(final int actual, final int ...expected) { in oneOf()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningControllerBaseTest.java62 protected void taskSucceeded(Class expected) throws Exception { in taskSucceeded()
68 protected AbstractProvisioningTask verifyTaskRun(Class expected) throws Exception { in verifyTaskRun()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java32 final String lowerCase, final String expected) { in assert_toTitleCaseOfKeyLabel()
114 final int expected) { in assert_toTitleCaseOfKeyCode()
146 final String expected) { in assert_capitalizeFirstCodePoint()
165 final String text, final String expected) { in assert_capitalizeFirstAndDowncaseRest()
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
Dgeometry_utils_test.cpp25 const char* actualExpression, float expected, float actual) { in ExpectAngleDiffEq()
36 #define EXPECT_ANGLE_DIFF_EQ(expected, actual) \ argument
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DCustomizationVerifier.java82 ColorStateList expected = ColorStateList.valueOf(targetColor); in assertProgressBarColorCorrect() local
87 private Matcher<Bitmap> bitmapEqualTo(Bitmap expected) { in bitmapEqualTo()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarAudioManagerTest.java157 public void waitForSet(long waitTimeMs, String expected) throws Exception { in waitForSet()
212 public void waitForChange(long waitTimeMs, String expected) throws Exception { in waitForChange()
221 public void assertParameter(String expected) { in assertParameter()
/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/
DSwiperThemeMatcherTest.java42 private void assertCorrect(int source, int expected) { in assertCorrect()
DColorMatcherTest.java45 private void assertCorrect(int source, int expected) { in assertCorrect()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DBreadBot.java80 public void assertTitle(String expected) { in assertTitle()
138 private static Matcher<Object> dropdownTitleMatcher(String expected) { in dropdownTitleMatcher()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DScheduledRecordingTest.java77 ScheduledRecording expected = createTestRecordingWithIdAndPeriod(1, INPUT_ID, CHANNEL_ID, in testBuildFrom() local
106 private void assertOverLapping(boolean expected, long lower, long upper, ScheduledRecording r) { in assertOverLapping()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/
DSelectionProbe.java65 public void assertSelectionSize(int expected) { in assertSelectionSize()
67 assertEquals(selection.toString(), expected, selection.size()); in assertSelectionSize() local
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramTest.java167 private static void assertCanonicalGenres(Program program, String... expected) { in assertCanonicalGenres()
172 private static void assertHasGenre(Program program, int genreId, boolean expected) { in assertHasGenre()

12345