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
| 4013 | // The newly created TestInfo instance will assume |
| 4014 | // ownership of the factory object. |
| 4015 | TestInfo* MakeAndRegisterTestInfo( |
| 4016 | const char* test_case_name, |
| 4017 | const char* name, |
| 4018 | const char* type_param, |
| 4019 | const char* value_param, |
| 4020 | TypeId fixture_class_id, |
| 4021 | SetUpTestCaseFunc set_up_tc, |
| 4022 | TearDownTestCaseFunc tear_down_tc, |
| 4023 | TestFactoryBase* factory) { |
| 4024 | TestInfo* const test_info = |
| 4025 | new TestInfo(test_case_name, name, type_param, value_param, |
| 4026 | fixture_class_id, factory); |
| 4027 | GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); |
| 4028 | return test_info; |
| 4029 | } |
| 4030 | |
| 4031 | #if GTEST_HAS_PARAM_TEST |
| 4032 | void ReportInvalidTestCaseType(const char* test_case_name, |
no test coverage detected