Remove GMOCK_RENAME_MAIN

GMOCK_RENAME_MAIN appears unused.

PiperOrigin-RevId: 506387823
Change-Id: I732c1f64f9038991a5c9aea1f2ad6fff07622afa
This commit is contained in:
Tom Hughes 2023-02-01 12:13:51 -08:00 committed by Copybara-Service
parent fd36851c8d
commit 394a8a568c

View File

@ -2597,14 +2597,7 @@ TEST(ParameterlessExpectationsTest,
} // namespace
} // namespace testing
// Allows the user to define their own main and then invoke gmock_main
// from it. This might be necessary on some platforms which require
// specific setup and teardown.
#if GMOCK_RENAME_MAIN
int gmock_main(int argc, char** argv) {
#else
int main(int argc, char** argv) {
#endif // GMOCK_RENAME_MAIN
testing::InitGoogleMock(&argc, argv);
// Ensures that the tests pass no matter what value of
// --gmock_catch_leaked_mocks and --gmock_verbose the user specifies.