TEST_P macro uses AddTestPattern() to record information about a single test in a LocalTestInfo structure. test_case_name is the base name of the test case (without invocation prefix). test_base_name is the name of an individual test without parameter index. For the test SequenceA/FooTest.DoBar/1 FooTest is test case base name and DoBar is test base name.
| 10398 | // parameter index. For the test SequenceA/FooTest.DoBar/1 FooTest is |
| 10399 | // test case base name and DoBar is test base name. |
| 10400 | void AddTestPattern(const char* test_case_name, |
| 10401 | const char* test_base_name, |
| 10402 | TestMetaFactoryBase<ParamType>* meta_factory) { |
| 10403 | tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, |
| 10404 | test_base_name, |
| 10405 | meta_factory))); |
| 10406 | } |
| 10407 | // INSTANTIATE_TEST_CASE_P macro uses AddGenerator() to record information |
| 10408 | // about a generator. |
| 10409 | int AddTestCaseInstantiation(const string& instantiation_name, |
nothing calls this directly
no outgoing calls
no test coverage detected