MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / GetTestTypeId

Function GetTestTypeId

test/common/gtest/gtest.cpp:2102–2104  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2100// return the same value, as it always calls GetTypeId<>() from the
2101// gtest.cc, which is within the Google Test framework.
2102TypeId 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().

Callers 2

gtest.cppFile · 0.85
HasSameFixtureClassMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected