Lines Matching defs:test_info
638 static void ClearTestResult(TestInfo* test_info) {
639 test_info->result_.Clear();
774 void AddTestInfo(TestInfo* test_info);
807 static bool TestPassed(const TestInfo* test_info) {
808 return test_info->should_run() && test_info->result()->Passed();
812 static bool TestSkipped(const TestInfo* test_info) {
813 return test_info->should_run() && test_info->result()->Skipped();
817 static bool TestFailed(const TestInfo* test_info) {
818 return test_info->should_run() && test_info->result()->Failed();
823 static bool TestReportableDisabled(const TestInfo* test_info) {
824 return test_info->is_reportable() && test_info->is_disabled_;
828 static bool TestDisabled(const TestInfo* test_info) {
829 return test_info->is_disabled_;
833 static bool TestReportable(const TestInfo* test_info) {
834 return test_info->is_reportable();
838 static bool ShouldRunTest(const TestInfo* test_info) {
839 return test_info->should_run();
953 virtual void OnTestStart(const TestInfo& test_info) = 0;
956 virtual void OnTestDisabled(const TestInfo& /*test_info*/) {}
964 virtual void OnTestEnd(const TestInfo& test_info) = 0;
1005 void OnTestStart(const TestInfo& /*test_info*/) override {}
1006 void OnTestDisabled(const TestInfo& /*test_info*/) override {}
1008 void OnTestEnd(const TestInfo& /*test_info*/) override {}