14 const ::testing::TestInfo& test_info) {
15 FML_LOG(IMPORTANT) <<
">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>";
16 FML_LOG(IMPORTANT) <<
"Starting Test: " << test_info.test_suite_name() <<
":"
21 if (result ==
nullptr) {
24 if (result->Passed()) {
27 if (result->Skipped()) {
30 if (result->Failed()) {
36std::string
TestLabel(const ::testing::TestInfo& info) {
37 return std::string{info.test_suite_name()} +
"." + info.name();
41 if (result ==
nullptr) {
44 return std::to_string(result->elapsed_time()) +
" ms";
51 FML_LOG(IMPORTANT) <<
"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<";
void OnTestDisabled(const ::testing::TestInfo &test_info) override
void OnTestStart(const ::testing::TestInfo &test_info) override
void OnTestEnd(const ::testing::TestInfo &test_info) override
#define FML_LOG(severity)
std::string TestTimeAsString(const ::testing::TestResult *result)
std::string TestStatusAsString(const ::testing::TestResult *result)
std::string TestLabel(const ::testing::TestInfo &info)