Lines Matching defs:TestInfo
2092 // class TestInfo
2094 // Constructs a TestInfo object. It assumes ownership of the test factory
2096 TestInfo::TestInfo(const char* test_case_name,
2107 // Destructs a TestInfo object.
2108 TestInfo::~TestInfo() {
2114 // Creates a new TestInfo object and registers it with Google Test;
2129 // The newly created TestInfo instance will assume
2131 TestInfo* MakeAndRegisterTestInfo(
2138 TestInfo* const test_info =
2139 new TestInfo(test_case_name, name, test_case_comment, comment,
2167 const char* TestInfo::test_case_name() const {
2172 const char* TestInfo::name() const {
2177 const char* TestInfo::test_case_comment() const {
2182 const char* TestInfo::comment() const {
2187 bool TestInfo::should_run() const { return impl_->should_run(); }
2190 bool TestInfo::matches_filter() const { return impl_->matches_filter(); }
2193 const TestResult* TestInfo::result() const { return impl_->result(); }
2197 int TestInfo::increment_death_test_count() {
2203 // A predicate that checks the test name of a TestInfo against a known
2220 bool operator()(const TestInfo * test_info) const {
2346 test_info_list_(new internal::Vector<TestInfo*>),
2357 test_info_list_->ForEach(internal::Delete<TestInfo>);
2362 const TestInfo* TestCase::GetTestInfo(int i) const {
2369 TestInfo* TestCase::GetMutableTestInfo(int i) {
2376 void TestCase::AddTestInfo(TestInfo * test_info) {
2412 bool TestCase::TestPassed(const TestInfo * test_info) {
2418 bool TestCase::TestFailed(const TestInfo * test_info) {
2424 bool TestCase::TestDisabled(const TestInfo * test_info) {
2429 bool TestCase::ShouldRunTest(const TestInfo *test_info) {
2647 virtual void OnTestStart(const TestInfo& test_info);
2649 virtual void OnTestEnd(const TestInfo& test_info);
2718 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) {
2741 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) {
2790 const TestInfo& test_info = *test_case.GetTestInfo(j);
2869 virtual void OnTestStart(const TestInfo& test_info);
2871 virtual void OnTestEnd(const TestInfo& test_info);
2934 GTEST_REPEATER_METHOD_(OnTestStart, TestInfo)
2939 GTEST_REVERSE_REPEATER_METHOD_(OnTestEnd, TestInfo)
3005 // Streams an XML representation of a TestInfo object.
3008 const TestInfo& test_info);
3146 // <testcase name="test-name"> <-- corresponds to a TestInfo object
3184 // Prints an XML representation of a TestInfo object.
3188 const TestInfo& test_info) {
3681 // Returns the TestInfo object for the test that's currently running,
3684 const TestInfo* UnitTest::current_test_info() const {
4130 // each TestCase and TestInfo object.
4153 TestInfo* const test_info = test_case->test_info_list().GetElement(j);
4195 const TestInfo* const test_info =
4268 TestInfoImpl::TestInfoImpl(TestInfo* parent,