MCPcopy Create free account
hub / github.com/apache/singa / AddTestCaseInstantiation

Method AddTestCaseInstantiation

test/gtest/gtest.h:10474–10480  ·  view source on GitHub ↗

INSTANTIATE_TEST_CASE_P macro uses AddGenerator() to record information about a generator.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected