mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Make parameter names in function declaration match the names in the
definitions https://clang.llvm.org/extra/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html PiperOrigin-RevId: 525752102 Change-Id: Ibf9d3d1dbae8f95cfc7c6ad29fe4b677f4ee19cf
This commit is contained in:
parent
d25e625364
commit
01bcf8c70d
@ -3782,28 +3782,28 @@ class TestEventRepeater : public TestEventListener {
|
||||
bool forwarding_enabled() const { return forwarding_enabled_; }
|
||||
void set_forwarding_enabled(bool enable) { forwarding_enabled_ = enable; }
|
||||
|
||||
void OnTestProgramStart(const UnitTest& unit_test) override;
|
||||
void OnTestProgramStart(const UnitTest& parameter) override;
|
||||
void OnTestIterationStart(const UnitTest& unit_test, int iteration) override;
|
||||
void OnEnvironmentsSetUpStart(const UnitTest& unit_test) override;
|
||||
void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) override;
|
||||
void OnEnvironmentsSetUpStart(const UnitTest& parameter) override;
|
||||
void OnEnvironmentsSetUpEnd(const UnitTest& parameter) override;
|
||||
// Legacy API is deprecated but still available
|
||||
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
|
||||
void OnTestCaseStart(const TestSuite& parameter) override;
|
||||
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
|
||||
void OnTestSuiteStart(const TestSuite& parameter) override;
|
||||
void OnTestStart(const TestInfo& test_info) override;
|
||||
void OnTestDisabled(const TestInfo& test_info) override;
|
||||
void OnTestPartResult(const TestPartResult& result) override;
|
||||
void OnTestEnd(const TestInfo& test_info) override;
|
||||
void OnTestStart(const TestInfo& parameter) override;
|
||||
void OnTestDisabled(const TestInfo& parameter) override;
|
||||
void OnTestPartResult(const TestPartResult& parameter) override;
|
||||
void OnTestEnd(const TestInfo& parameter) override;
|
||||
// Legacy API is deprecated but still available
|
||||
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
|
||||
void OnTestCaseEnd(const TestCase& parameter) override;
|
||||
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
|
||||
void OnTestSuiteEnd(const TestSuite& parameter) override;
|
||||
void OnEnvironmentsTearDownStart(const UnitTest& unit_test) override;
|
||||
void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) override;
|
||||
void OnEnvironmentsTearDownStart(const UnitTest& parameter) override;
|
||||
void OnEnvironmentsTearDownEnd(const UnitTest& parameter) override;
|
||||
void OnTestIterationEnd(const UnitTest& unit_test, int iteration) override;
|
||||
void OnTestProgramEnd(const UnitTest& unit_test) override;
|
||||
void OnTestProgramEnd(const UnitTest& parameter) override;
|
||||
|
||||
private:
|
||||
// Controls whether events will be forwarded to listeners_. Set to false
|
||||
|
Loading…
x
Reference in New Issue
Block a user