"git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "21514e0be79776cd3822b7c03bf2ddd497a0ac7e"
Commit 317ec2f2 authored by srz_zumix's avatar srz_zumix
Browse files

fix GTEST_REMOVE_LEGACY_TEST_CASEAPI_ typo

parent a781fe29
...@@ -3007,9 +3007,9 @@ void TestSuite::Run() { ...@@ -3007,9 +3007,9 @@ void TestSuite::Run() {
// Call both legacy and the new API // Call both legacy and the new API
repeater->OnTestSuiteStart(*this); repeater->OnTestSuiteStart(*this);
// Legacy API is deprecated but still available // Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI #ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
repeater->OnTestCaseStart(*this); repeater->OnTestCaseStart(*this);
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI #endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
impl->os_stack_trace_getter()->UponLeavingGTest(); impl->os_stack_trace_getter()->UponLeavingGTest();
internal::HandleExceptionsInMethodIfSupported( internal::HandleExceptionsInMethodIfSupported(
...@@ -3034,9 +3034,9 @@ void TestSuite::Run() { ...@@ -3034,9 +3034,9 @@ void TestSuite::Run() {
// Call both legacy and the new API // Call both legacy and the new API
repeater->OnTestSuiteEnd(*this); repeater->OnTestSuiteEnd(*this);
// Legacy API is deprecated but still available // Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI #ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
repeater->OnTestCaseEnd(*this); repeater->OnTestCaseEnd(*this);
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI #endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
impl->set_current_test_suite(nullptr); impl->set_current_test_suite(nullptr);
} }
...@@ -3053,9 +3053,9 @@ void TestSuite::Skip() { ...@@ -3053,9 +3053,9 @@ void TestSuite::Skip() {
// Call both legacy and the new API // Call both legacy and the new API
repeater->OnTestSuiteStart(*this); repeater->OnTestSuiteStart(*this);
// Legacy API is deprecated but still available // Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI #ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
repeater->OnTestCaseStart(*this); repeater->OnTestCaseStart(*this);
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI #endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
for (int i = 0; i < total_test_count(); i++) { for (int i = 0; i < total_test_count(); i++) {
GetMutableTestInfo(i)->Skip(); GetMutableTestInfo(i)->Skip();
...@@ -3064,9 +3064,9 @@ void TestSuite::Skip() { ...@@ -3064,9 +3064,9 @@ void TestSuite::Skip() {
// Call both legacy and the new API // Call both legacy and the new API
repeater->OnTestSuiteEnd(*this); repeater->OnTestSuiteEnd(*this);
// Legacy API is deprecated but still available // Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI #ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
repeater->OnTestCaseEnd(*this); repeater->OnTestCaseEnd(*this);
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI #endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
impl->set_current_test_suite(nullptr); impl->set_current_test_suite(nullptr);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment