Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 19 of 19) sorted by relevance

/art/test/021-string2/src/junit/framework/
DAssert.java59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
64 failNotEquals(message, expected, actual); in assertEquals()
70 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
71 assertEquals(null, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
[all …]
DComparisonFailure.java18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
21 fActual= actual; in ComparisonFailure()
47 String actual, expected; in getMessage() local
52 actual= fActual; in getMessage()
55 actual= fActual.substring(i, k+1); in getMessage()
58 actual= "..."+actual; in getMessage()
64 actual= actual+"..."; in getMessage()
66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
60 if (expected == null && actual == null) in assertEquals()
62 if (expected != null && expected.equals(actual)) in assertEquals()
64 failNotEquals(message, expected, actual); in assertEquals()
70 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
71 assertEquals(null, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
77 if (expected == null && actual == null) in assertEquals()
79 if (expected != null && expected.equals(actual)) in assertEquals()
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
[all …]
DComparisonFailure.java18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
21 fActual= actual; in ComparisonFailure()
47 String actual, expected; in getMessage() local
52 actual= fActual; in getMessage()
55 actual= fActual.substring(i, k+1); in getMessage()
58 actual= "..."+actual; in getMessage()
64 actual= actual+"..."; in getMessage()
66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
/art/test/406-fields/src/
DTestCase.java38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument
39 if (expected != actual) { in assertEquals()
44 public static void assertEquals(int expected, int actual) { in assertEquals() argument
45 if (expected != actual) { in assertEquals()
46 throw new AssertionError("Expected " + expected + " got " + actual); in assertEquals()
70 public static void assertEquals(Object expected, Object actual) { in assertEquals() argument
71 if (!expected.equals(actual)) { in assertEquals()
72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals()
77 public static void assertNotEquals(int expected, int actual) { in assertNotEquals() argument
78 if (expected == actual) { in assertNotEquals()
[all …]
/art/test/407-arrays/src/
DTestCase.java38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument
39 if (expected != actual) { in assertEquals()
44 public static void assertEquals(int expected, int actual) { in assertEquals() argument
45 if (expected != actual) { in assertEquals()
46 throw new AssertionError("Expected " + expected + " got " + actual); in assertEquals()
70 public static void assertEquals(Object expected, Object actual) { in assertEquals() argument
71 if (!expected.equals(actual)) { in assertEquals()
72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals()
77 public static void assertNotEquals(int expected, int actual) { in assertNotEquals() argument
78 if (expected == actual) { in assertNotEquals()
[all …]
/art/compiler/
Doutput_stream_test.cc30 off_t actual = output_stream_->Seek(0, kSeekCurrent); in CheckOffset() local
31 EXPECT_EQ(expected, actual); in CheckOffset()
52 void CheckTestOutput(const std::vector<uint8_t>& actual) { in CheckTestOutput() argument
56 EXPECT_EQ(sizeof(expected), actual.size()); in CheckTestOutput()
57 EXPECT_EQ(0, memcmp(expected, &actual[0], actual.size())); in CheckTestOutput()
70 std::vector<uint8_t> actual(in->GetLength()); in TEST_F() local
71 bool readSuccess = in->ReadFully(&actual[0], actual.size()); in TEST_F()
73 CheckTestOutput(actual); in TEST_F()
85 std::vector<uint8_t> actual(in->GetLength()); in TEST_F() local
86 bool readSuccess = in->ReadFully(&actual[0], actual.size()); in TEST_F()
[all …]
Delf_patcher.cc157 uint32_t actual = *patch_location; in SetPatchLocation() local
158 CHECK(actual == expected || actual == value) << "Patching call failed: " << std::hex in SetPatchLocation()
159 << " actual=" << actual in SetPatchLocation()
167 uint32_t actual = *patch_location; in SetPatchLocation() local
168 CHECK(actual == expected || actual == value) << "Patching type failed: " << std::hex in SetPatchLocation()
169 << " actual=" << actual in SetPatchLocation()
/art/runtime/
Dutils_test.cc238 std::vector<std::string> actual; in TEST_F() local
243 actual.clear(); in TEST_F()
244 Split("", ':', actual); in TEST_F()
245 EXPECT_EQ(expected, actual); in TEST_F()
247 actual.clear(); in TEST_F()
248 Split(":", ':', actual); in TEST_F()
249 EXPECT_EQ(expected, actual); in TEST_F()
254 actual.clear(); in TEST_F()
255 Split(":foo", ':', actual); in TEST_F()
256 EXPECT_EQ(expected, actual); in TEST_F()
[all …]
Dmem_map.cc203 uintptr_t actual = reinterpret_cast<uintptr_t>(actual_ptr); in CheckMapRequest() local
230 actual, expected); in CheckMapRequest()
297 void* actual = MAP_FAILED; in MapAnonymous() local
331 actual = mmap(reinterpret_cast<void*>(ptr), page_aligned_byte_count, prot, flags, fd.get(), in MapAnonymous()
333 if (actual != MAP_FAILED) { in MapAnonymous()
336 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count < 4 * GB) { in MapAnonymous()
339 munmap(actual, page_aligned_byte_count); in MapAnonymous()
340 actual = MAP_FAILED; in MapAnonymous()
349 if (actual == MAP_FAILED) { in MapAnonymous()
354 actual = mmap(expected_ptr, page_aligned_byte_count, prot, flags, fd.get(), 0); in MapAnonymous()
[all …]
/art/test/004-UnsafeTest/src/
DMain.java25 private static void check(int actual, int expected, String msg) { in check() argument
26 if (actual != expected) { in check()
27 System.out.println(msg + " : " + actual + " != " + expected); in check()
32 private static void check(long actual, long expected, String msg) { in check() argument
33 if (actual != expected) { in check()
34 System.out.println(msg + " : " + actual + " != " + expected); in check()
/art/runtime/jdwp/
Djdwp_main.cc158 ssize_t actual = netState->WriteBufferedPacket(iov); in SendBufferedRequest() local
159 if (static_cast<size_t>(actual) != expected) { in SendBufferedRequest()
165 actual, expected); in SendBufferedRequest()
177 ssize_t actual = netState->WritePacket(pReq, expandBufGetLength(pReq)); in SendRequest() local
178 if (static_cast<size_t>(actual) != expandBufGetLength(pReq)) { in SendRequest()
180 actual, expandBufGetLength(pReq)); in SendRequest()
/art/test/122-npe/src/
DMain.java574 static void assertEquals(Object expected, Object actual) { in assertEquals() argument
575 if (!expected.equals(actual)) { in assertEquals()
576 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals()
581 static void assertEquals(int expected, int actual) { in assertEquals() argument
582 if (expected != actual) { in assertEquals()
583 throw new AssertionError("Expected " + expected + " got " + actual); in assertEquals()
/art/test/201-built-in-exception-detail-messages/src/
DMain.java33 private static void assertEquals(String expected, String actual) { in assertEquals() argument
34 if (expected == null && actual == null) { in assertEquals()
37 if (expected != null && expected.equals(actual)) { in assertEquals()
42 "actual: " + actual); in assertEquals()
/art/test/301-abstract-protected/
Dinfo.txt2 of an interface method; the RI only cares about the visibility of the actual
/art/compiler/dex/quick/mips/
DREADME.mips7 actual hardware, and as such should be expected to have many bugs. However,
10 expectation is that when it is first tried out on actual hardware lots of
/art/runtime/arch/arm/
Dportable_entrypoints_arm.S130 bx r12 @ tail-call into actual code
Dquick_entrypoints_arm.S985 bx r12 @ tail-call into actual code
/art/compiler/llvm/
Dintrinsic_func_list.def1120 // [arg3..argN]: actual arguments