Returns the type ID of ::testing::Test. We should always call this instead of GetTypeId< ::testing::Test>() to get the type ID of testing::Test. This is to work around a suspected linker bug when using Google Test as a framework on Mac OS X. The bug causes GetTypeId< ::testing::Test>() to return different values depending on whether the call is from the Google Test framework itself or from user
| 596 | // return the same value, as it always calls GetTypeId<>() from the |
| 597 | // gtest.cc, which is within the Google Test framework. |
| 598 | TypeId GetTestTypeId() { |
| 599 | return GetTypeId<Test>(); |
| 600 | } |
| 601 | |
| 602 | // The value of GetTestTypeId() as seen from within the Google Test |
| 603 | // library. This is solely for testing GetTestTypeId(). |
no outgoing calls
no test coverage detected