Lines Matching full:testinfo
1057 // Adds a TestInfo to the unit test.
1063 // test_info: the TestInfo object
1066 TestInfo* test_info) {
1099 // Sets the TestInfo object for the test that's currently running. If
1102 void set_current_test_info(TestInfo* a_current_test_info) {
1143 // result in each TestCase and TestInfo object.
1153 TestInfo* current_test_info() { return current_test_info_; }
1154 const TestInfo* current_test_info() const { return current_test_info_; }
1285 // This points to the TestInfo for the currently running test. It
1289 TestInfo* current_test_info_;
1589 void OnTestStart(const TestInfo& test_info) {
1593 void OnTestEnd(const TestInfo& test_info) {
3450 const TestInfo* const first_test_info = test_case->test_info_list()[0];
3455 const TestInfo* const this_test_info = impl->current_test_info();
3673 // class TestInfo
3675 // Constructs a TestInfo object. It assumes ownership of the test factory
3677 TestInfo::TestInfo(const std::string& a_test_case_name,
3694 // Destructs a TestInfo object.
3695 TestInfo::~TestInfo() { delete factory_; }
3699 // Creates a new TestInfo object and registers it with Google Test;
3714 // The newly created TestInfo instance will assume
3716 TestInfo* MakeAndRegisterTestInfo(
3725 TestInfo* const test_info =
3726 new TestInfo(test_case_name, name, type_param, value_param,
3755 // A predicate that checks the test name of a TestInfo against a known
3772 bool operator()(const TestInfo * test_info) const {
3800 void TestInfo::Run() {
3904 ForEach(test_info_list_, internal::Delete<TestInfo>);
3909 const TestInfo* TestCase::GetTestInfo(int i) const {
3916 TestInfo* TestCase::GetMutableTestInfo(int i) {
3923 void TestCase::AddTestInfo(TestInfo * test_info) {
3959 ForEach(test_info_list_, TestInfo::ClearTestResult);
4172 static void PrintFullTestCommentIfPresent(const TestInfo& test_info) {
4205 virtual void OnTestStart(const TestInfo& test_info);
4207 virtual void OnTestEnd(const TestInfo& test_info);
4282 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) {
4301 void PrettyUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) {
4352 const TestInfo& test_info = *test_case.GetTestInfo(j);
4424 virtual void OnTestStart(const TestInfo& test_info);
4426 virtual void OnTestEnd(const TestInfo& test_info);
4487 GTEST_REPEATER_METHOD_(OnTestStart, TestInfo)
4492 GTEST_REVERSE_REPEATER_METHOD_(OnTestEnd, TestInfo)
4567 // Streams an XML representation of a TestInfo object.
4570 const TestInfo& test_info);
4711 // <testcase name="test-name"> <-- corresponds to a TestInfo object
4789 // Prints an XML representation of a TestInfo object.
4793 const TestInfo& test_info) {
5454 // Returns the TestInfo object for the test that's currently running,
5456 const TestInfo* UnitTest::current_test_info() const
5958 // each TestCase and TestInfo object.
5981 TestInfo* const test_info = test_case->test_info_list()[j];
6054 const TestInfo* const test_info =
6869 TestInfo* const info = GetUnitTestImpl()->current_test_info();
7221 const TestInfo* const info = impl->current_test_info();
7639 const TestInfo* const info = impl->current_test_info();