mirror of
https://github.com/google/googletest.git
synced 2025-03-19 18:33:48 +00:00
Remove GMOCK_RENAME_MAIN
GMOCK_RENAME_MAIN appears unused. PiperOrigin-RevId: 506387823 Change-Id: I732c1f64f9038991a5c9aea1f2ad6fff07622afa
This commit is contained in:
parent
fd36851c8d
commit
394a8a568c
@ -2597,14 +2597,7 @@ TEST(ParameterlessExpectationsTest,
|
|||||||
} // namespace
|
} // namespace
|
||||||
} // namespace testing
|
} // 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) {
|
int main(int argc, char** argv) {
|
||||||
#endif // GMOCK_RENAME_MAIN
|
|
||||||
testing::InitGoogleMock(&argc, argv);
|
testing::InitGoogleMock(&argc, argv);
|
||||||
// Ensures that the tests pass no matter what value of
|
// Ensures that the tests pass no matter what value of
|
||||||
// --gmock_catch_leaked_mocks and --gmock_verbose the user specifies.
|
// --gmock_catch_leaked_mocks and --gmock_verbose the user specifies.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user