Home
last modified time | relevance | path

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

/system/core/libunwindstack/tests/
DLocalUnwinderTest.cpp93 std::vector<const char*> expected_function_names; in LocalInnerFunction() local
106 expected_function_names = {"LocalOuterFunction", "LocalMiddleFunction", in LocalInnerFunction()
112 expected_function_names = {"LocalOuterFunction", "LocalMiddleFunction", "LocalInnerFunction"}; in LocalInnerFunction()
116 if (frame.function_name == expected_function_names.back()) { in LocalInnerFunction()
117 expected_function_names.pop_back(); in LocalInnerFunction()
118 if (expected_function_names.empty()) { in LocalInnerFunction()
124 ASSERT_TRUE(expected_function_names.empty()) << ErrorMsg(expected_function_names, frame_info); in LocalInnerFunction()
192 std::vector<const char*> expected_function_names{"TestlibLevel1", "TestlibLevel2", in TEST_F() local
196 if (frame.function_name == expected_function_names.back()) { in TEST_F()
197 expected_function_names.pop_back(); in TEST_F()
[all …]
DUnwindTest.cpp114 static void VerifyUnwind(Unwinder* unwinder, std::vector<const char*> expected_function_names) { in VerifyUnwind() argument
118 if (frame.function_name == expected_function_names.back()) { in VerifyUnwind()
119 expected_function_names.pop_back(); in VerifyUnwind()
120 if (expected_function_names.empty()) { in VerifyUnwind()
126 ASSERT_TRUE(expected_function_names.empty()) << ErrorMsg(expected_function_names, unwinder); in VerifyUnwind()
130 std::vector<const char*> expected_function_names) { in VerifyUnwind() argument
134 VerifyUnwind(&unwinder, expected_function_names); in VerifyUnwind()