MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / diag

Method diag

test/test.cpp:251–256  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

249
250///////////////////////////////////////////////////////////////////////////////
251void UnitTest::diag(const std::string& text) {
252 auto start = text.find_first_not_of(" \t\n\r\f");
253 auto end = text.find_last_not_of(" \t\n\r\f");
254 if (start != std::string::npos && end != std::string::npos)
255 std::cout << "# " << text.substr(start, end - start + 1) << '\n';
256}
257
258///////////////////////////////////////////////////////////////////////////////
259void UnitTest::pass(const std::string& text) {

Callers 9

TEST_NAMEFunction · 0.45
TEST_NAMEFunction · 0.45
TEST_NAMEFunction · 0.45
test_under_versionMethod · 0.45
test_diagnosticsMethod · 0.45
test_64bit_time_tMethod · 0.45
TEST_NAMEFunction · 0.45
TEST_NAMEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected