Home
last modified time | relevance | path

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

/art/runtime/
Dexception_test.cc218 auto* trace_array = soa.Decode<mirror::ObjectArray<mirror::StackTraceElement>*>(ste_array); in TEST_F() local
220 ASSERT_TRUE(trace_array != nullptr); in TEST_F()
221 ASSERT_TRUE(trace_array->Get(0) != nullptr); in TEST_F()
223 trace_array->Get(0)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F()
225 trace_array->Get(0)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F()
226 EXPECT_STREQ("g", trace_array->Get(0)->GetMethodName()->ToModifiedUtf8().c_str()); in TEST_F()
227 EXPECT_EQ(37, trace_array->Get(0)->GetLineNumber()); in TEST_F()
229 ASSERT_TRUE(trace_array->Get(1) != nullptr); in TEST_F()
231 trace_array->Get(1)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F()
233 trace_array->Get(1)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F()
[all …]
/art/compiler/jni/
Djni_compiler_test.cc760 mirror::ObjectArray<mirror::StackTraceElement>* trace_array = in JNI_TEST() local
762 EXPECT_TRUE(trace_array != nullptr); in JNI_TEST()
763 EXPECT_EQ(11, trace_array->GetLength()); in JNI_TEST()
766 for (int32_t j = 0; j < trace_array->GetLength(); ++j) { in JNI_TEST()
767 EXPECT_EQ(-2, trace_array->Get(j)->GetLineNumber()); in JNI_TEST()
768 mirror::StackTraceElement* ste = trace_array->Get(j); in JNI_TEST()