MCPcopy Create free account
hub / github.com/catboost/catboost / OnTestPartResult

Method OnTestPartResult

library/cpp/testing/gtest/main.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 void OnTestPartResult(const testing::TestPartResult& result) override {
115 if (!result.passed()) {
116 if (result.file_name()) {
117 std::cerr << StripRoot(result.file_name()) << ":" << result.line_number() << ":" << "\n";
118 }
119 std::cerr << result.message() << "\n";
120 std::cerr << std::flush;
121 }
122 }
123
124 void OnTestEnd(const ::testing::TestInfo& testInfo) override {
125 auto ts = std::chrono::duration_cast<std::chrono::duration<double>>(

Callers

nothing calls this directly

Calls 3

StripRootFunction · 0.85
file_nameMethod · 0.80
messageMethod · 0.45

Tested by

no test coverage detected