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
| 2100 | // return the same value, as it always calls GetTypeId<>() from the |
| 2101 | // gtest.cc, which is within the Google Test framework. |
| 2102 | TypeId GetTestTypeId() { |
| 2103 | return GetTypeId<Test>(); |
| 2104 | } |
| 2105 | |
| 2106 | // The value of GetTestTypeId() as seen from within the Google Test |
| 2107 | // library. This is solely for testing GetTestTypeId(). |
no outgoing calls
no test coverage detected