Home
last modified time | relevance | path

Searched refs:trace_array (Results 1 – 2 of 2) sorted by relevance

/art/compiler/
Dexception_test.cc221 auto* trace_array = soa.Decode<mirror::ObjectArray<mirror::StackTraceElement>*>(ste_array); in TEST_F() local
223 ASSERT_TRUE(trace_array != nullptr); in TEST_F()
224 ASSERT_TRUE(trace_array->Get(0) != nullptr); in TEST_F()
226 trace_array->Get(0)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F()
228 trace_array->Get(0)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F()
229 EXPECT_STREQ("g", trace_array->Get(0)->GetMethodName()->ToModifiedUtf8().c_str()); in TEST_F()
230 EXPECT_EQ(37, trace_array->Get(0)->GetLineNumber()); in TEST_F()
232 ASSERT_TRUE(trace_array->Get(1) != nullptr); in TEST_F()
234 trace_array->Get(1)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F()
236 trace_array->Get(1)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F()
[all …]
/art/compiler/jni/
Djni_compiler_test.cc771 mirror::ObjectArray<mirror::StackTraceElement>* trace_array = in JNI_TEST() local
773 EXPECT_TRUE(trace_array != nullptr); in JNI_TEST()
774 EXPECT_EQ(11, trace_array->GetLength()); in JNI_TEST()
777 for (int32_t j = 0; j < trace_array->GetLength(); ++j) { in JNI_TEST()
778 EXPECT_EQ(-2, trace_array->Get(j)->GetLineNumber()); in JNI_TEST()
779 mirror::StackTraceElement* ste = trace_array->Get(j); in JNI_TEST()