MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / PrintFullTestCommentIfPresent

Function PrintFullTestCommentIfPresent

test/common/gtest/gtest.cpp:4445–4460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4443static const char kValueParamLabel[] = "GetParam()";
4444
4445void PrintFullTestCommentIfPresent(const TestInfo& test_info) {
4446 const char* const type_param = test_info.type_param();
4447 const char* const value_param = test_info.value_param();
4448
4449 if (type_param != NULL || value_param != NULL) {
4450 printf(", where ");
4451 if (type_param != NULL) {
4452 printf("%s = %s", kTypeParamLabel, type_param);
4453 if (value_param != NULL)
4454 printf(" and ");
4455 }
4456 if (value_param != NULL) {
4457 printf("%s = %s", kValueParamLabel, value_param);
4458 }
4459 }
4460}
4461
4462// This class implements the TestEventListener interface.
4463//

Callers 2

OnTestEndMethod · 0.85
PrintFailedTestsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected