MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / GetTestTypeId

Function GetTestTypeId

tests/external/gmock-1.7.0/gtest/src/gtest.cc:598–600  ·  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

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

Callers 3

gtest.ccFile · 0.70
HasSameFixtureClassMethod · 0.70
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected