Home
last modified time | relevance | path

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

1234567

/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 …]
/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/base/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()
/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/compile/libbcc/runtime/test/Unit/
Dnegsf2vfp_test.c25 float expected = -a; in test__negsf2vfp() local
Dfloatsidfvfp_test.c25 double expected = a; in test__floatsidfvfp() local
Dtruncdfsf2vfp_test.c25 float expected = a; in test__truncdfsf2vfp() local
Dfloatunssisfvfp_test.c25 float expected = a; in test__floatunssisfvfp() local
Dbswapdi2_test.c23 int test__bswapdi2(uint64_t a, uint64_t expected) in test__bswapdi2()
Dfloatsisfvfp_test.c25 float expected = a; in test__floatsisfvfp() local
Dfixsfsivfp_test.c25 int expected = a; in test__fixsfsivfp() local
Dbswapsi2_test.c23 int test__bswapsi2(uint32_t a, uint32_t expected) in test__bswapsi2()
Dfixdfsivfp_test.c25 int expected = a; in test__fixdfsivfp() local
Dnegvsi2_test.c26 si_int expected = -a; in test__negvsi2() local
Dfixunsdfsivfp_test.c25 unsigned int expected = a; in test__fixunsdfsivfp() local
Dfixunssfsivfp_test.c25 unsigned int expected = a; in test__fixunssfsivfp() local
Dextebdsfdf2vfp_test.c25 double expected = a; in test__extendsfdf2vfp() local
Dfloatunssidfvfp_test.c25 double expected = a; in test__floatunssidfvfp() local
Dnegvdi2_test.c26 di_int expected = -a; in test__negvdi2() local
Dnegdf2vfp_test.c25 double expected = -a; in test__negdf2vfp() local
Deqsf2vfp_test.c26 int expected = (a == b) ? 1 : 0; in test__eqsf2vfp() local
Dabsvdi2_test.c27 di_int expected = a; in test__absvdi2() local
Dunordsf2vfp_test.c26 int expected = (isnan(a) || isnan(b)) ? 1 : 0; in test__unordsf2vfp() local

1234567