Home
last modified time | relevance | path

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

/art/runtime/
Dexception_test.cc222 mirror::ObjectArray<mirror::StackTraceElement>* trace_array = in TEST_F() local
225 ASSERT_TRUE(trace_array != NULL); in TEST_F()
226 ASSERT_TRUE(trace_array->Get(0) != NULL); in TEST_F()
228 trace_array->Get(0)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F()
229 …EXPECT_STREQ("ExceptionHandle.java", trace_array->Get(0)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F()
230 EXPECT_STREQ("g", trace_array->Get(0)->GetMethodName()->ToModifiedUtf8().c_str()); in TEST_F()
231 EXPECT_EQ(37, trace_array->Get(0)->GetLineNumber()); in TEST_F()
233 ASSERT_TRUE(trace_array->Get(1) != NULL); in TEST_F()
235 trace_array->Get(1)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F()
236 …EXPECT_STREQ("ExceptionHandle.java", trace_array->Get(1)->GetFileName()->ToModifiedUtf8().c_str()); in TEST_F()
[all …]
/art/compiler/jni/
Djni_compiler_test.cc792 mirror::ObjectArray<mirror::StackTraceElement>* trace_array = in JNI_TEST() local
794 EXPECT_TRUE(trace_array != nullptr); in JNI_TEST()
795 EXPECT_EQ(11, trace_array->GetLength()); in JNI_TEST()
798 for (int32_t i = 0; i < trace_array->GetLength(); ++i) { in JNI_TEST()
799 EXPECT_EQ(-2, trace_array->Get(i)->GetLineNumber()); in JNI_TEST()
800 mirror::StackTraceElement* ste = trace_array->Get(i); in JNI_TEST()