|
|
@ -782,7 +782,7 @@ void Mock::RegisterUseByOnCallOrExpectCall(const void* mock_obj, |
|
|
|
const TestInfo* const test_info = |
|
|
|
const TestInfo* const test_info = |
|
|
|
UnitTest::GetInstance()->current_test_info(); |
|
|
|
UnitTest::GetInstance()->current_test_info(); |
|
|
|
if (test_info != NULL) { |
|
|
|
if (test_info != NULL) { |
|
|
|
// TODO(wan@google.com): record the test case name when the
|
|
|
|
// FIXME: record the test case name when the
|
|
|
|
// ON_CALL or EXPECT_CALL is invoked from SetUpTestCase() or
|
|
|
|
// ON_CALL or EXPECT_CALL is invoked from SetUpTestCase() or
|
|
|
|
// TearDownTestCase().
|
|
|
|
// TearDownTestCase().
|
|
|
|
state.first_used_test_case = test_info->test_case_name(); |
|
|
|
state.first_used_test_case = test_info->test_case_name(); |
|
|
|