Creates a new TestInfo object and registers it with Google Test; returns the created object. Arguments: test_suite_name: name of the test suite 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
| 4073 | // The newly created TestInfo instance will assume |
| 4074 | // ownership of the factory object. |
| 4075 | TestInfo* MakeAndRegisterTestInfo( |
| 4076 | const char* test_suite_name, const char* name, const char* type_param, |
| 4077 | const char* value_param, CodeLocation code_location, |
| 4078 | TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, |
| 4079 | TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory) { |
| 4080 | TestInfo* const test_info = |
| 4081 | new TestInfo(test_suite_name, name, type_param, value_param, |
| 4082 | code_location, fixture_class_id, factory); |
| 4083 | GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); |
| 4084 | return test_info; |
| 4085 | } |
| 4086 | |
| 4087 | void ReportInvalidTestSuiteType(const char* test_suite_name, |
| 4088 | CodeLocation code_location) { |
no test coverage detected