MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / FormatTestCaseCount

Function FormatTestCaseCount

tests/external/gmock-1.7.0/gtest/src/gtest.cc:2492–2494  ·  view source on GitHub ↗

Formats the count of test cases.

Source from the content-addressed store, hash-verified

2490
2491// Formats the count of test cases.
2492static std::string FormatTestCaseCount(int test_case_count) {
2493 return FormatCountableNoun(test_case_count, "test case", "test cases");
2494}
2495
2496// Converts a TestPartResult::Type enum to human-friendly string
2497// representation. Both kNonFatalFailure and kFatalFailure are translated

Callers 2

OnTestIterationStartMethod · 0.70
OnTestIterationEndMethod · 0.70

Calls 1

FormatCountableNounFunction · 0.70

Tested by

no test coverage detected