• Home
  • Raw
  • Download

Lines Matching refs:test_case

217 static bool TestCasePassed(const TestCase* test_case) {  in TestCasePassed()  argument
218 return test_case->should_run() && test_case->Passed(); in TestCasePassed()
222 static bool TestCaseFailed(const TestCase* test_case) { in TestCaseFailed() argument
223 return test_case->should_run() && test_case->Failed(); in TestCaseFailed()
228 static bool ShouldRunTestCase(const TestCase* test_case) { in ShouldRunTestCase() argument
229 return test_case->should_run(); in ShouldRunTestCase()
1729 const TestCase* const test_case = impl->current_test_case(); in HasSameFixtureClass() local
1733 test_case->test_info_list().Head()->element()->impl(); in HasSameFixtureClass()
2289 static void PrintTestName(const char * test_case, const char * test) { in PrintTestName() argument
2290 printf("%s.%s", test_case, test); in PrintTestName()
2297 virtual void OnTestCaseStart(const TestCase * test_case);
2335 const TestCase * test_case) { in OnTestCaseStart() argument
2336 test_case_name_ = test_case->name(); in OnTestCaseStart()
2338 FormatCountableNoun(test_case->test_to_run_count(), "test", "tests"); in OnTestCaseStart()
2464 virtual void OnTestCaseStart(const TestCase* test_case);
2465 virtual void OnTestCaseEnd(const TestCase* test_case);
2558 static void PrintXmlTestCase(FILE* out, const TestCase* test_case);
2738 const TestCase* test_case) { in PrintXmlTestCase() argument
2742 EscapeXmlAttribute(test_case->name()).c_str(), in PrintXmlTestCase()
2743 test_case->total_test_count(), in PrintXmlTestCase()
2744 test_case->failed_test_count(), in PrintXmlTestCase()
2745 test_case->disabled_test_count()); in PrintXmlTestCase()
2748 internal::StreamableToString(test_case->elapsed_time()).c_str()); in PrintXmlTestCase()
2750 test_case->test_info_list().Head(); in PrintXmlTestCase()
2753 PrintXmlTestInfo(out, test_case->name(), info_node->element()); in PrintXmlTestCase()
3072 bool operator()(const TestCase* test_case) const { in UnitTestImpl()
3073 return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0; in UnitTestImpl()
3097 TestCase* const test_case = in UnitTestImpl() local
3104 node = test_cases_.InsertAfter(last_death_test_case_, test_case); in UnitTestImpl()
3108 test_cases_.PushBack(test_case); in UnitTestImpl()
3223 TestCase * const test_case = test_case_node->element(); in UnitTestImpl() local
3224 const String &test_case_name = test_case->name(); in UnitTestImpl()
3225 test_case->set_should_run(false); in UnitTestImpl()
3228 test_case->test_info_list().Head(); in UnitTestImpl()
3246 test_case->set_should_run(test_case->should_run() || should_run); in UnitTestImpl()
3260 const TestCase* const test_case = test_case_node->element(); in UnitTestImpl() local
3263 printf("%s.\n", test_case->name()); in UnitTestImpl()
3266 test_case->test_info_list().Head(); in UnitTestImpl()