MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / FormatTestCount

Function FormatTestCount

3rd/googletest-1.13.0/googletest/src/gtest.cc:3090–3092  ·  view source on GitHub ↗

Formats the count of tests.

Source from the content-addressed store, hash-verified

3088
3089// Formats the count of tests.
3090static std::string FormatTestCount(int test_count) {
3091 return FormatCountableNoun(test_count, "test", "tests");
3092}
3093
3094// Formats the count of test suites.
3095static std::string FormatTestSuiteCount(int test_suite_count) {

Callers 3

OnTestIterationStartMethod · 0.85
PrintFailedTestsMethod · 0.85
OnTestIterationEndMethod · 0.85

Calls 1

FormatCountableNounFunction · 0.85

Tested by

no test coverage detected