Home
last modified time | relevance | path

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

12

/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java44 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom()
53 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) { in assertAssignableFrom()
85 String message, byte[] expected, byte[] actual) { in assertEquals()
101 public static void assertEquals(byte[] expected, byte[] actual) { in assertEquals()
111 String message, int[] expected, int[] actual) { in assertEquals()
127 public static void assertEquals(int[] expected, int[] actual) { in assertEquals()
137 String message, double[] expected, double[] actual) { in assertEquals()
153 public static void assertEquals(double[] expected, double[] actual) { in assertEquals()
165 String message, Object[] expected, Object[] actual) { in assertEquals()
185 public static void assertEquals(Object[] expected, Object[] actual) { in assertEquals()
[all …]
DComparisonFailure.java27 public ComparisonFailure(String message, String expected, String actual) { in ComparisonFailure()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutDirectionsTest.java74 private static Directions[] expected = { field in StaticLayoutDirectionsTest
117 checkDirections(b.build(), i, b.text, expected, f); in testDirections() local
135 Directions expected = dirs(0, LVL1_1, 1, LVL2_1, 2, 3 | (1 << Layout.RUN_LEVEL_SHIFT)); in testTrailingWhitespace() local
149 int[] expected = { 0, 1, 4, 3, 2, 5 }; in testNextToRightOf() local
165 int[] expected = { 0, 1, 4, 3, 2, 5 }; in testNextToLeftOf() local
228 Directions expected = expectedDirs[i]; in checkDirections() local
237 private void expectDirections(String msg, Directions expected, Directions result) { in expectDirections()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java219 String expected = "+1-650-123-4567"; // Different formatting than ours in testAutoCompleteWithFormattedNumber() local
228 String expected = "Test User <650-123-4567>"; in testAutoCompleteWithFormattedNameAndNumber() local
237 String expected = "2nd Test User <650-123-4567>"; in testAutoCompleteWithNumericNameAndNumber() local
246 String expected = "6501234567"; in testAutoCompleteWithUnformattedNumber() local
258 String expected = "(650) 123-4567"; in testAutoCompleteUnformattedWithUnformattedNumber() local
272 private void testReplacement(String init, String replacement, String expected) { in testReplacement()
DApnSettingTest.java98 String expected = "[ApnSettingV2] Name, 99, 12345, apn, proxy, " + in testToString() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java134 String expected = builder.toString(); in testMultiByteCharactersSpanningBuffers() local
142 String expected = " \u20AC \u20AC \u20AC \u20AC "; in testWriteOneByteAtATimeMultibyteCharacters() local
151 String expected = " \u20AC \u20AC \u20AC \u20AC "; in testWriteByteArrayAtATimeMultibyteCharacters() local
158 String expected = " \u20AC \u20AC \u20AC \u20AC "; in testWriteWithOffsetsMultibyteCharacters() local
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
DOverlayBaseTest.java46 String expected = mWithOverlay ? ew : ewo; in assertResource() local
52 int[] expected = mWithOverlay ? ew : ewo; in assertResource() local
107 final int[] expected = {0, 10, 20, 30}; in testIntegerArray() local
115 int expected = mWithOverlay ? 0x000051da : 0x0014ebce; in testAsset() local
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java225 boolean expected) throws InterruptedException { in waitAssertPopupShowState()
235 private void waitAssertListSelection(AutoCompleteTextView textView, int expected) in waitAssertListSelection()
241 int expected) throws Exception { in waitAssertListSelection()
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java58 private void assertEquals(byte[] expected, int len, byte[] actual) { in assertEquals()
66 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { in assertEquals()
74 private void assertEquals(byte[] expected, byte[] actual) { in assertEquals()
DDayOfMonthCursorTest.java150 private void assertArraysEqual(int[] expected, int[] actual) { in assertArraysEqual()
DMonthDisplayHelperTest.java201 private void assertArraysEqual(int[] expected, int[] actual) { in assertArraysEqual()
DJsonWriterTest.java413 String expected = "{\n" in testPrettyPrintObject() local
450 String expected = "[\n" in testPrettyPrintArray() local
/frameworks/support/tests/java/android/support/v4/content/
DFileProviderTest.java137 final String expected = "content://authority/t%2Fg/lol%22wat%3Ffoo%26bar/wat.txt"; in testStrategyEscaping() local
161 final String expected = "content://authority/tag/foo/bar"; in testStrategyExtraSeparators() local
317 private void assertContentsEquals(byte[] expected, Uri actual) throws Exception { in assertContentsEquals()
/frameworks/base/tools/aidl/
Dsearch_path.cpp21 string expected = given; local
Doptions_test.cpp21 match_arrays(const char* const*expected, const vector<string> &got) in match_arrays()
39 print_array(const char* prefix, const char* const*expected) in print_array()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DManifestDigestTest.java52 ManifestDigest expected = in testManifestDigest_Equals() local
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java147 public int waitForResultOrThrow(int timeoutMs, String expected) { in waitForResultOrThrow()
163 public int waitForResult(int timeoutMs, String expected) { in waitForResult()
/frameworks/base/tools/aapt/tests/
DCrunchCache_test.cpp18 void expectEqual(int got, int expected, const char* desc) { in expectEqual()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java131 final int expected = prio; in testCallBackFromServiceWithPriority() local
DFileUtilsTest.java179 private void assertDirContents(String... expected) { in assertDirContents()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DRootsCacheTest.java117 private static void assertContainsExactly(List<?> expected, List<?> actual) { in assertContainsExactly()
/frameworks/base/keystore/tests/src/android/security/
DAndroidKeyStoreTest.java1393 Certificate[] expected = new Certificate[2]; in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success() local
1859 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_Encrypted_Success() local
1886 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_DSA_Unencrypted_Success() local
1913 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_EC_Unencrypted_Success() local
1940 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_RSA_Unencrypted_Success() local
1998 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() local
2023 PrivateKeyEntry expected = new PrivateKeyEntry(expectedKey, expectedChain); in testKeyStore_SetEntry_PrivateKeyEntry_Overwrites_PrivateKeyEntry_Encrypted_Success() local
/frameworks/base/core/tests/coretests/src/android/net/
DUriMatcherTest.java109 private void check(String uri, int expected, UriMatcher matcher) { in check()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java48 private static void printLists(String[] expected, String[] out) { in printLists()
64 String exdate, String rangeStartStr, String rangeEndStr, String[] expected) in verifyRecurrence()
71 String exdate, String rangeStartStr, String rangeEndStr, String[] expected, in verifyRecurrence()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java218 private static <T> void assertArrayEquals(T expected, T actual) { in assertArrayEquals()
528 <T> void compareGeneric(T expected, T actual) { in compareGeneric()

12