Creates a new TestInfo object and registers it with Google Test; returns the created object. Arguments: test_case_name: name of the test case name: name of the test type_param: the name of the test's type parameter, or NULL if this is not a typed or a type-parameterized test. value_param: text representation of the test's value parameter, or NULL if this is not a value-p
| 3530 | // The newly created TestInfo instance will assume |
| 3531 | // ownership of the factory object. |
| 3532 | TestInfo* MakeAndRegisterTestInfo( |
| 3533 | const char* test_case_name, const char* name, |
| 3534 | const char* type_param, |
| 3535 | const char* value_param, |
| 3536 | TypeId fixture_class_id, |
| 3537 | SetUpTestCaseFunc set_up_tc, |
| 3538 | TearDownTestCaseFunc tear_down_tc, |
| 3539 | TestFactoryBase* factory) { |
| 3540 | TestInfo* const test_info = |
| 3541 | new TestInfo(test_case_name, name, type_param, value_param, |
| 3542 | fixture_class_id, factory); |
| 3543 | GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); |
| 3544 | return test_info; |
| 3545 | } |
| 3546 | |
| 3547 | #if GTEST_HAS_PARAM_TEST |
| 3548 | void ReportInvalidTestCaseType(const char* test_case_name, |
no test coverage detected