TEST_P macro uses AddTestPattern() to record information about a single test in a LocalTestInfo structure. test_suite_name is the base name of the test suite (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 suite base name and DoBar is test base name.
| 10901 | // parameter index. For the test SequenceA/FooTest.DoBar/1 FooTest is |
| 10902 | // test suite base name and DoBar is test base name. |
| 10903 | void AddTestPattern(const char* test_suite_name, const char* test_base_name, |
| 10904 | TestMetaFactoryBase<ParamType>* meta_factory) { |
| 10905 | tests_.push_back(std::shared_ptr<TestInfo>( |
| 10906 | new TestInfo(test_suite_name, test_base_name, meta_factory))); |
| 10907 | } |
| 10908 | // INSTANTIATE_TEST_SUITE_P macro uses AddGenerator() to record information |
| 10909 | // about a generator. |
| 10910 | int AddTestSuiteInstantiation(const std::string& instantiation_name, |
nothing calls this directly
no outgoing calls
no test coverage detected