Home | History | Annotate | Download | only in gtest

Lines Matching defs:test_case

217 static bool TestCasePassed(const TestCase* test_case) {
218 return test_case->should_run() && test_case->Passed();
222 static bool TestCaseFailed(const TestCase* test_case) {
223 return test_case->should_run() && test_case->Failed();
226 // Returns true iff test_case contains at least one test that should
228 static bool ShouldRunTestCase(const TestCase* test_case) {
229 return test_case->should_run();
1729 const TestCase* const test_case = impl->current_test_case();
1733 test_case->test_info_list().Head()->element()->impl();
2289 static void PrintTestName(const char * test_case, const char * test) {
2290 printf("%s.%s", test_case, test);
2297 virtual void OnTestCaseStart(const TestCase * test_case);
2335 const TestCase * test_case) {
2336 test_case_name_ = test_case->name();
2338 FormatCountableNoun(test_case->test_to_run_count(), "test", "tests");
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) {
2742 EscapeXmlAttribute(test_case->name()).c_str(),
2743 test_case->total_test_count(),
2744 test_case->failed_test_count(),
2745 test_case->disabled_test_count());
2748 internal::StreamableToString(test_case->elapsed_time()).c_str());
2750 test_case->test_info_list().Head();
2753 PrintXmlTestInfo(out, test_case->name(), info_node->element());
3071 // Returns true iff the name of test_case matches name_.
3072 bool operator()(const TestCase* test_case) const {
3073 return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0;
3097 TestCase* const test_case =
3104 node = test_cases_.InsertAfter(last_death_test_case_, test_case);
3108 test_cases_.PushBack(test_case);
3223 TestCase * const test_case = test_case_node->element();
3224 const String &test_case_name = test_case->name();
3225 test_case->set_should_run(false);
3228 test_case->test_info_list().Head();
3246 test_case->set_should_run(test_case->should_run() || should_run);
3260 const TestCase* const test_case = test_case_node->element();
3263 printf("%s.\n", test_case->name());
3266 test_case->test_info_list().Head();