Lines Matching refs:test_case
277 static bool TestCasePassed(const TestCase* test_case) { in TestCasePassed() argument
278 return test_case->should_run() && test_case->Passed(); in TestCasePassed()
282 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed() argument
283 return test_case->should_run() && test_case->Failed(); in TestCaseFailed()
288 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase() argument
289 return test_case->should_run(); in ShouldRunTestCase()
1965 const TestCase* const test_case = impl->current_test_case(); in HasSameFixtureClass() local
1969 test_case->test_info_list().Head()->element()->impl(); in HasSameFixtureClass()
2599 static void PrintTestName(const char * test_case, const char * test) { in PrintTestName() argument
2600 printf("%s.%s", test_case, test); in PrintTestName()
2607 virtual void OnTestCaseStart(const TestCase * test_case);
2608 virtual void OnTestCaseEnd(const TestCase * test_case);
2653 const TestCase * test_case) { in OnTestCaseStart() argument
2654 test_case_name_ = test_case->name(); in OnTestCaseStart()
2656 FormatCountableNoun(test_case->test_to_run_count(), "test", "tests"); in OnTestCaseStart()
2659 if (test_case->comment()[0] == '\0') { in OnTestCaseStart()
2662 printf(", where %s\n", test_case->comment()); in OnTestCaseStart()
2668 const TestCase * test_case) { in OnTestCaseEnd() argument
2671 test_case_name_ = test_case->name(); in OnTestCaseEnd()
2673 FormatCountableNoun(test_case->test_to_run_count(), "test", "tests"); in OnTestCaseEnd()
2677 internal::StreamableToString(test_case->elapsed_time()).c_str()); in OnTestCaseEnd()
2824 virtual void OnTestCaseStart(const TestCase* test_case);
2825 virtual void OnTestCaseEnd(const TestCase* test_case);
2918 static void PrintXmlTestCase(FILE* out, const TestCase* test_case);
3114 const TestCase* test_case) { in PrintXmlTestCase() argument
3118 EscapeXmlAttribute(test_case->name()).c_str(), in PrintXmlTestCase()
3119 test_case->total_test_count(), in PrintXmlTestCase()
3120 test_case->failed_test_count(), in PrintXmlTestCase()
3121 test_case->disabled_test_count()); in PrintXmlTestCase()
3124 internal::FormatTimeInMillisAsSeconds(test_case->elapsed_time())); in PrintXmlTestCase()
3126 test_case->test_info_list().Head(); in PrintXmlTestCase()
3129 PrintXmlTestInfo(out, test_case->name(), info_node->element()); in PrintXmlTestCase()
3531 bool operator()(const TestCase* test_case) const { in UnitTestImpl()
3532 return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0; in UnitTestImpl()
3557 TestCase* const test_case = in UnitTestImpl() local
3565 node = test_cases_.InsertAfter(last_death_test_case_, test_case); in UnitTestImpl()
3569 test_cases_.PushBack(test_case); in UnitTestImpl()
3819 TestCase * const test_case = test_case_node->element(); in UnitTestImpl() local
3820 const String &test_case_name = test_case->name(); in UnitTestImpl()
3821 test_case->set_should_run(false); in UnitTestImpl()
3824 test_case->test_info_list().Head(); in UnitTestImpl()
3852 test_case->set_should_run(test_case->should_run() || is_selected); in UnitTestImpl()
3863 const TestCase* const test_case = test_case_node->element(); in UnitTestImpl() local
3866 printf("%s.\n", test_case->name()); in UnitTestImpl()
3869 test_case->test_info_list().Head(); in UnitTestImpl()