Lines Matching refs:TestInfo
499 virtual void OnTestStart(const TestInfo*) {}
502 virtual void OnTestEnd(const TestInfo*) {}
2087 // class TestInfo
2089 // Constructs a TestInfo object. It assumes ownership of the test factory
2091 TestInfo::TestInfo(const char* test_case_name,
2102 // Destructs a TestInfo object.
2103 TestInfo::~TestInfo() {
2109 // Creates a new TestInfo object and registers it with Google Test;
2124 // The newly created TestInfo instance will assume
2126 TestInfo* MakeAndRegisterTestInfo(
2133 TestInfo* const test_info =
2134 new TestInfo(test_case_name, name, test_case_comment, comment,
2162 const char* TestInfo::test_case_name() const {
2167 const char* TestInfo::name() const {
2172 const char* TestInfo::test_case_comment() const {
2177 const char* TestInfo::comment() const {
2182 bool TestInfo::should_run() const { return impl_->should_run(); }
2185 const internal::TestResult* TestInfo::result() const { return impl_->result(); }
2189 int TestInfo::increment_death_test_count() {
2195 // A predicate that checks the test name of a TestInfo against a known
2212 bool operator()(const TestInfo * test_info) const {
2222 // Finds and returns a TestInfo with the given name. If one doesn't
2224 TestInfo * TestCase::GetTestInfo(const char* test_name) {
2225 // Can we find a TestInfo with the given name?
2226 internal::ListNode<TestInfo *> * const node = test_info_list_->FindIf(
2229 // Returns the TestInfo found.
2354 test_info_list_ = new internal::List<TestInfo *>;
2360 test_info_list_->ForEach(internal::Delete<TestInfo>);
2369 void TestCase::AddTestInfo(TestInfo * test_info) {
2609 virtual void OnTestStart(const TestInfo * test_info);
2611 virtual void OnTestEnd(const TestInfo * test_info);
2681 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo * test_info) {
2692 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo * test_info) {
2741 for (const internal::ListNode<TestInfo*>* tinode =
2744 const TestInfo* const ti = tinode->element();
2826 virtual void OnTestStart(const TestInfo* test_info);
2827 virtual void OnTestEnd(const TestInfo* test_info);
2868 GTEST_REPEATER_METHOD_(OnTestStart, TestInfo)
2869 GTEST_REPEATER_METHOD_(OnTestEnd, TestInfo)
2912 // Prints an XML representation of a TestInfo object.
2915 const TestInfo* test_info);
3049 // <testcase name="test-name"> <-- corresponds to a TestInfo object
3072 // Prints an XML representation of a TestInfo object.
3076 const TestInfo* test_info) {
3125 for (const internal::ListNode<TestInfo*>* info_node =
3421 // Returns the TestInfo object for the test that's currently running,
3424 const TestInfo* UnitTest::current_test_info() const {
3798 // each TestCase and TestInfo object.
3823 for (const internal::ListNode<TestInfo *> *test_info_node =
3827 TestInfo * const test_info = test_info_node->element();
3868 for (const internal::ListNode<TestInfo*>* test_info_node =
3872 const TestInfo* const test_info = test_info_node->element();
3956 TestInfoImpl::TestInfoImpl(TestInfo* parent,