Home | History | Annotate | Download | only in src

Lines Matching defs:TestInfo

1024   // Adds a TestInfo to the unit test.
1030 // test_info: the TestInfo object
1033 TestInfo* test_info) {
1066 // Sets the TestInfo object for the test that's currently running. If
1069 void set_current_test_info(TestInfo* a_current_test_info) {
1104 // result in each TestCase and TestInfo object.
1114 TestInfo* current_test_info() { return current_test_info_; }
1115 const TestInfo* current_test_info() const { return current_test_info_; }
1246 // This points to the TestInfo for the currently running test. It
1250 TestInfo* current_test_info_;
3260 const TestInfo* const first_test_info = test_case->test_info_list()[0];
3265 const TestInfo* const this_test_info = impl->current_test_info();
3488 // class TestInfo
3490 // Constructs a TestInfo object. It assumes ownership of the test factory
3494 TestInfo::TestInfo(const char* a_test_case_name,
3511 // Destructs a TestInfo object.
3512 TestInfo::~TestInfo() { delete factory_; }
3516 // Creates a new TestInfo object and registers it with Google Test;
3531 // The newly created TestInfo instance will assume
3533 TestInfo* MakeAndRegisterTestInfo(
3541 TestInfo* const test_info =
3542 new TestInfo(test_case_name, name, type_param, value_param,
3571 // A predicate that checks the test name of a TestInfo against a known
3588 bool operator()(const TestInfo * test_info) const {
3616 void TestInfo::Run() {
3709 ForEach(test_info_list_, internal::Delete<TestInfo>);
3714 const TestInfo* TestCase::GetTestInfo(int i) const {
3721 TestInfo* TestCase::GetMutableTestInfo(int i) {
3728 void TestCase::AddTestInfo(TestInfo * test_info) {
3763 ForEach(test_info_list_, TestInfo::ClearTestResult);
3970 void PrintFullTestCommentIfPresent(const TestInfo& test_info) {
4003 virtual void OnTestStart(const TestInfo& test_info);
4005 virtual void OnTestEnd(const TestInfo& test_info);
4075 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) {
4094 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) {
4146 const TestInfo& test_info = *test_case.GetTestInfo(j);
4218 virtual void OnTestStart(const TestInfo& test_info);
4220 virtual void OnTestEnd(const TestInfo& test_info);
4281 GTEST_REPEATER_METHOD_(OnTestStart, TestInfo)
4286 GTEST_REVERSE_REPEATER_METHOD_(OnTestEnd, TestInfo)
4352 // Streams an XML representation of a TestInfo object.
4355 const TestInfo& test_info);
4490 // <testcase name="test-name"> <-- corresponds to a TestInfo object
4526 // Prints an XML representation of a TestInfo object.
4530 const TestInfo& test_info) {
4685 void OnTestStart(const TestInfo& test_info) {
4689 void OnTestEnd(const TestInfo& test_info) {
5195 // Returns the TestInfo object for the test that's currently running,
5198 const TestInfo* UnitTest::current_test_info() const {
5676 // each TestCase and TestInfo object.
5699 TestInfo* const test_info = test_case->test_info_list()[j];
5741 const TestInfo* const test_info =
6493 TestInfo* const info = GetUnitTestImpl()->current_test_info();
6845 const TestInfo* const info = impl->current_test_info();
7192 const TestInfo* const info = impl->current_test_info();