MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / GetOutputFormat

Method GetOutputFormat

rtpose_wrapper/src/gtest/gtest-all.cpp:1688–1696  ·  view source on GitHub ↗

Returns the output format, or "" for normal printed output.

Source from the content-addressed store, hash-verified

1686
1687// Returns the output format, or "" for normal printed output.
1688String UnitTestOptions::GetOutputFormat() {
1689 const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
1690 if (gtest_output_flag == NULL) return String("");
1691
1692 const char* const colon = strchr(gtest_output_flag, ':');
1693 return (colon == NULL) ?
1694 String(gtest_output_flag) :
1695 String(gtest_output_flag, colon - gtest_output_flag);
1696}
1697
1698// Returns the name of the requested output file, or the default if none
1699// was explicitly specified.

Callers

nothing calls this directly

Calls 1

StringFunction · 0.70

Tested by

no test coverage detected