Lines Matching defs:TestInfo

1048   // Adds a TestInfo to the unit test.
1054 // test_info: the TestInfo object
1057 TestInfo* test_info) {
1090 // Sets the TestInfo object for the test that's currently running. If
1093 void set_current_test_info(TestInfo* a_current_test_info) {
1134 // result in each TestCase and TestInfo object.
1144 TestInfo* current_test_info() { return current_test_info_; }
1145 const TestInfo* current_test_info() const { return current_test_info_; }
1276 // This points to the TestInfo for the currently running test. It
1280 TestInfo* current_test_info_;
1579 void OnTestStart(const TestInfo& test_info) {
1583 void OnTestEnd(const TestInfo& test_info) {
3434 const TestInfo* const first_test_info = test_case->test_info_list()[0];
3439 const TestInfo* const this_test_info = impl->current_test_info();
3657 // class TestInfo
3659 // Constructs a TestInfo object. It assumes ownership of the test factory
3661 TestInfo::TestInfo(const std::string& a_test_case_name,
3678 // Destructs a TestInfo object.
3679 TestInfo::~TestInfo() { delete factory_; }
3683 // Creates a new TestInfo object and registers it with Google Test;
3698 // The newly created TestInfo instance will assume
3700 TestInfo* MakeAndRegisterTestInfo(
3709 TestInfo* const test_info =
3710 new TestInfo(test_case_name, name, type_param, value_param,
3739 // A predicate that checks the test name of a TestInfo against a known
3756 bool operator()(const TestInfo * test_info) const {
3784 void TestInfo::Run() {
3888 ForEach(test_info_list_, internal::Delete<TestInfo>);
3893 const TestInfo* TestCase::GetTestInfo(int i) const {
3900 TestInfo* TestCase::GetMutableTestInfo(int i) {
3907 void TestCase::AddTestInfo(TestInfo * test_info) {
3943 ForEach(test_info_list_, TestInfo::ClearTestResult);
4156 void PrintFullTestCommentIfPresent(const TestInfo& test_info) {
4189 virtual void OnTestStart(const TestInfo& test_info);
4191 virtual void OnTestEnd(const TestInfo& test_info);
4258 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) {
4277 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) {
4328 const TestInfo& test_info = *test_case.GetTestInfo(j);
4400 virtual void OnTestStart(const TestInfo& test_info);
4402 virtual void OnTestEnd(const TestInfo& test_info);
4463 GTEST_REPEATER_METHOD_(OnTestStart, TestInfo)
4468 GTEST_REVERSE_REPEATER_METHOD_(OnTestEnd, TestInfo)
4543 // Streams an XML representation of a TestInfo object.
4546 const TestInfo& test_info);
4687 // <testcase name="test-name"> <-- corresponds to a TestInfo object
4765 // Prints an XML representation of a TestInfo object.
4769 const TestInfo& test_info) {
5430 // Returns the TestInfo object for the test that's currently running,
5432 const TestInfo* UnitTest::current_test_info() const
5934 // each TestCase and TestInfo object.
5957 TestInfo* const test_info = test_case->test_info_list()[j];
6024 const TestInfo* const test_info =
6830 TestInfo* const info = GetUnitTestImpl()->current_test_info();
7182 const TestInfo* const info = impl->current_test_info();
7598 const TestInfo* const info = impl->current_test_info();