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

Function PrintFullTestCommentIfPresent

test/gtest/gtest-all.cc:4156–4171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4154static const char kValueParamLabel[] = "GetParam()";
4155
4156void PrintFullTestCommentIfPresent(const TestInfo& test_info) {
4157 const char* const type_param = test_info.type_param();
4158 const char* const value_param = test_info.value_param();
4159
4160 if (type_param != NULL || value_param != NULL) {
4161 printf(", where ");
4162 if (type_param != NULL) {
4163 printf("%s = %s", kTypeParamLabel, type_param);
4164 if (value_param != NULL)
4165 printf(" and ");
4166 }
4167 if (value_param != NULL) {
4168 printf("%s = %s", kValueParamLabel, value_param);
4169 }
4170 }
4171}
4172
4173// This class implements the TestEventListener interface.
4174//

Callers 2

OnTestEndMethod · 0.85
PrintFailedTestsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected