Lines Matching refs:ASSERT_EQ
53 ASSERT_EQ(original_name, "original.class.A.method_a"); in TEST()
56 ASSERT_EQ(original_name, "original.class.A.method_b"); in TEST()
59 ASSERT_EQ(original_name, "original.class.M.method_c"); in TEST()
62 ASSERT_EQ(original_name, "original.class.A.method_d"); in TEST()
65 ASSERT_EQ(original_name, "original.class.B.b"); in TEST()
68 ASSERT_EQ(original_name, "original.class.C.c"); in TEST()
162 ASSERT_EQ(entries.size(), 2); in TEST_F()
163 ASSERT_EQ(entries[0].ip, 0x2000); in TEST_F()
165 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
166 ASSERT_EQ(entries[0].vaddr_in_file, 0); in TEST_F()
167 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
168 ASSERT_EQ(entries[1].ip, 0x3000); in TEST_F()
170 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F()
171 ASSERT_EQ(entries[1].vaddr_in_file, 0x100); in TEST_F()
172 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
183 ASSERT_EQ(entries.size(), 2); in TEST_F()
184 ASSERT_EQ(entries[0].ip, 0x2000); in TEST_F()
186 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
187 ASSERT_EQ(entries[0].vaddr_in_file, 0); in TEST_F()
188 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
189 ASSERT_EQ(entries[1].ip, 0x3000); in TEST_F()
191 ASSERT_EQ(entries[1].dso->Path(), fake_jit_cache_path); in TEST_F()
192 ASSERT_EQ(entries[1].vaddr_in_file, 0x3000); in TEST_F()
193 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
204 ASSERT_EQ(entries.size(), 8); in TEST_F()
206 ASSERT_EQ(entries[i].ip, 0x1000); in TEST_F()
208 ASSERT_EQ(entries[i].dso->Path(), fake_interpreter_path); in TEST_F()
209 ASSERT_EQ(entries[i].vaddr_in_file, 0); in TEST_F()
210 ASSERT_EQ(entries[i].execution_type, CallChainExecutionType::ART_METHOD); in TEST_F()
211 ASSERT_EQ(entries[i + 1].ip, 0x1100); in TEST_F()
213 ASSERT_EQ(entries[i + 1].dso->Path(), fake_interpreter_path); in TEST_F()
214 ASSERT_EQ(entries[i + 1].vaddr_in_file, 0x100); in TEST_F()
215 ASSERT_EQ(entries[i + 1].execution_type, CallChainExecutionType::ART_METHOD); in TEST_F()
217 ASSERT_EQ(entries[2].ip, 0x2000); in TEST_F()
219 ASSERT_EQ(entries[2].dso->Path(), fake_dex_file_path); in TEST_F()
220 ASSERT_EQ(entries[2].vaddr_in_file, 0); in TEST_F()
221 ASSERT_EQ(entries[2].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
222 ASSERT_EQ(entries[5].ip, 0x3000); in TEST_F()
224 ASSERT_EQ(entries[5].dso->Path(), fake_dex_file_path); in TEST_F()
225 ASSERT_EQ(entries[5].vaddr_in_file, 0x100); in TEST_F()
226 ASSERT_EQ(entries[5].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
242 ASSERT_EQ(entries.size(), 1); in TEST_F()
243 ASSERT_EQ(entries[0].ip, 0x2100); in TEST_F()
245 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
246 ASSERT_EQ(entries[0].vaddr_in_file, 0x100); in TEST_F()
247 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
263 ASSERT_EQ(entries.size(), 5); in TEST_F()
265 ASSERT_EQ(entries[i].ip, 0x1000); in TEST_F()
267 ASSERT_EQ(entries[i].dso->Path(), fake_interpreter_path); in TEST_F()
268 ASSERT_EQ(entries[i].vaddr_in_file, 0); in TEST_F()
269 ASSERT_EQ(entries[i].execution_type, CallChainExecutionType::NATIVE_METHOD); in TEST_F()
272 ASSERT_EQ(entries[i].ip, 0x0); in TEST_F()
274 ASSERT_EQ(entries[i].dso->Path(), fake_native_lib_path); in TEST_F()
275 ASSERT_EQ(entries[i].vaddr_in_file, 0); in TEST_F()
276 ASSERT_EQ(entries[i].execution_type, CallChainExecutionType::NATIVE_METHOD); in TEST_F()
279 ASSERT_EQ(entries[2].ip, 0x2000); in TEST_F()
281 ASSERT_EQ(entries[2].dso->Path(), fake_dex_file_path); in TEST_F()
282 ASSERT_EQ(entries[2].vaddr_in_file, 0x0); in TEST_F()
283 ASSERT_EQ(entries[2].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
299 ASSERT_EQ(entries.size(), 3); in TEST_F()
301 ASSERT_EQ(entries[i].ip, 0x1200); in TEST_F()
304 ASSERT_EQ(entries[i].dso->Path(), fake_interpreter_path); in TEST_F()
305 ASSERT_EQ(entries[i].vaddr_in_file, 0x200); in TEST_F()
306 ASSERT_EQ(entries[i].execution_type, CallChainExecutionType::NATIVE_METHOD); in TEST_F()
308 ASSERT_EQ(entries[1].ip, 0x2000); in TEST_F()
310 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F()
311 ASSERT_EQ(entries[1].vaddr_in_file, 0x0); in TEST_F()
312 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
325 ASSERT_EQ(entries.size(), 3); in TEST_F()
326 ASSERT_EQ(entries[0].ip, 0x2200); in TEST_F()
328 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
329 ASSERT_EQ(entries[0].vaddr_in_file, 0x200); in TEST_F()
330 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
331 ASSERT_EQ(entries[1].ip, 0x3200); in TEST_F()
333 ASSERT_EQ(entries[1].dso->Path(), fake_jit_cache_path); in TEST_F()
334 ASSERT_EQ(entries[1].vaddr_in_file, 0x3200); in TEST_F()
335 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
336 ASSERT_EQ(entries[2].ip, 0x3300); in TEST_F()
338 ASSERT_EQ(entries[2].dso->Path(), fake_jit_cache_path); in TEST_F()
339 ASSERT_EQ(entries[2].vaddr_in_file, 0x3300); in TEST_F()
340 ASSERT_EQ(entries[2].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
355 ASSERT_EQ(entries.size(), 3); in TEST_F()
356 ASSERT_EQ(entries[0].ip, 0x2200); in TEST_F()
359 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
360 ASSERT_EQ(entries[0].vaddr_in_file, 0x200); in TEST_F()
361 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
362 ASSERT_EQ(entries[1].ip, 0x3200); in TEST_F()
365 ASSERT_EQ(entries[1].dso->Path(), fake_jit_cache_path); in TEST_F()
366 ASSERT_EQ(entries[1].vaddr_in_file, 0x3200); in TEST_F()
367 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
370 ASSERT_EQ(entries[2].dso->Path(), fake_jit_cache_path); in TEST_F()
371 ASSERT_EQ(entries[2].vaddr_in_file, 0x3300); in TEST_F()
372 ASSERT_EQ(entries[2].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
397 ASSERT_EQ(entries.size(), 2); in TEST_F()
398 ASSERT_EQ(entries[0].ip, 0x2200); in TEST_F()
401 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
402 ASSERT_EQ(entries[0].vaddr_in_file, 0x200); in TEST_F()
403 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
404 ASSERT_EQ(entries[1].ip, 0x3200); in TEST_F()
407 ASSERT_EQ(entries[1].dso->Path(), fake_jit_cache_path); in TEST_F()
408 ASSERT_EQ(entries[1].vaddr_in_file, 0x3200); in TEST_F()
409 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
433 ASSERT_EQ(setenv("REMOVE_R8_SYNTHESIZED_FRAME", "1", 1), 0); in TEST_F()
435 ASSERT_EQ(unsetenv("REMOVE_R8_SYNTHESIZED_FRAME"), 0); in TEST_F()
438 ASSERT_EQ(entries.size(), 1); in TEST_F()
439 ASSERT_EQ(entries[0].ip, 0x3200); in TEST_F()
442 ASSERT_EQ(entries[0].dso->Path(), fake_jit_cache_path); in TEST_F()
443 ASSERT_EQ(entries[0].vaddr_in_file, 0x3200); in TEST_F()
444 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
465 ASSERT_EQ(entries.size(), 1); in TEST_F()
466 ASSERT_EQ(entries[0].ip, 0x3200); in TEST_F()
469 ASSERT_EQ(entries[0].dso->Path(), fake_jit_cache_path); in TEST_F()
470 ASSERT_EQ(entries[0].vaddr_in_file, 0x3200); in TEST_F()
471 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
497 ASSERT_EQ(entries.size(), 1); in TEST_F()
498 ASSERT_EQ(entries[0].ip, 0x4000); in TEST_F()
501 ASSERT_EQ(entries[0].dso->Path(), compiled_java_path); in TEST_F()
502 ASSERT_EQ(entries[0].vaddr_in_file, 0x0); in TEST_F()
503 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::NATIVE_METHOD); in TEST_F()
519 ASSERT_EQ(entries.size(), 2); in TEST_F()
520 ASSERT_EQ(entries[0].ip, 0x2200); in TEST_F()
522 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
523 ASSERT_EQ(entries[0].vaddr_in_file, 0x200); in TEST_F()
524 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
525 ASSERT_EQ(entries[1].ip, 0x3200); in TEST_F()
527 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F()
528 ASSERT_EQ(entries[1].vaddr_in_file, 0x200); in TEST_F()
529 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
541 ASSERT_EQ(entries.size(), 2); in TEST_F()
542 ASSERT_EQ(entries[0].ip, 0x2200); in TEST_F()
545 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
546 ASSERT_EQ(entries[0].vaddr_in_file, 0x200); in TEST_F()
547 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
548 ASSERT_EQ(entries[1].ip, 0x3200); in TEST_F()
551 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F()
552 ASSERT_EQ(entries[1].vaddr_in_file, 0x200); in TEST_F()
553 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
563 ASSERT_EQ(entries.size(), 2); in TEST_F()
564 ASSERT_EQ(entries[0].ip, 0x2000); in TEST_F()
566 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
567 ASSERT_EQ(entries[0].vaddr_in_file, 0); in TEST_F()
568 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
569 ASSERT_EQ(entries[1].ip, 0x3000); in TEST_F()
571 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F()
572 ASSERT_EQ(entries[1].vaddr_in_file, 0x100); in TEST_F()
573 ASSERT_EQ(entries[1].execution_type, CallChainExecutionType::JIT_JVM_METHOD); in TEST_F()
577 ASSERT_EQ(entries.size(), 1); in TEST_F()
578 ASSERT_EQ(entries[0].ip, 0x2000); in TEST_F()
580 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F()
581 ASSERT_EQ(entries[0].vaddr_in_file, 0); in TEST_F()
582 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F()
586 ASSERT_EQ(entries.size(), 0); in TEST_F()