INSTANTIATE_TEST_CASE_P macro uses AddGenerator() to record information about a generator.
| 10472 | // INSTANTIATE_TEST_CASE_P macro uses AddGenerator() to record information |
| 10473 | // about a generator. |
| 10474 | int AddTestCaseInstantiation(const string& instantiation_name, |
| 10475 | GeneratorCreationFunc* func, |
| 10476 | const char* /* file */, |
| 10477 | int /* line */) { |
| 10478 | instantiations_.push_back(::std::make_pair(instantiation_name, func)); |
| 10479 | return 0; // Return value used only to run this method in namespace scope. |
| 10480 | } |
| 10481 | // UnitTest class invokes this method to register tests in this test case |
| 10482 | // test cases right before running tests in RUN_ALL_TESTS macro. |
| 10483 | // This method should not be called more then once on any single |
nothing calls this directly
no outgoing calls
no test coverage detected