Searched refs:TestInfo (Results 1 - 16 of 16) sorted by relevance

/gem5/ext/googletest/googletest/samples/
H A Dsample9_unittest.cc44 using ::testing::TestInfo;
64 virtual void OnTestStart(const TestInfo& test_info) {
84 virtual void OnTestEnd(const TestInfo& test_info) {
145 const TestInfo& test_info = *test_case.GetTestInfo(j);
H A Dsample10_unittest.cc44 using ::testing::TestInfo;
81 virtual void OnTestStart(const TestInfo& /* test_info */) {
86 virtual void OnTestEnd(const TestInfo& /* test_info */) {
/gem5/ext/googletest/googletest/test/
H A Dgtest_shuffle_test_.cc43 using ::testing::TestInfo;
86 virtual void OnTestStart(const TestInfo& test_info) {
H A Dgtest-unittest-api_test.cc86 static TestInfo const** GetSortedTests(const TestCase* test_case) {
87 TestInfo const** const tests =
88 new const TestInfo*[test_case->total_test_count()];
94 LessByName<TestInfo>());
158 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case);
221 const TestInfo* const test_info = test_case->GetTestInfo(0);
280 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case);
H A Dgtest-listener_test.cc45 using ::testing::TestInfo;
84 virtual void OnTestStart(const TestInfo& /*test_info*/) {
92 virtual void OnTestEnd(const TestInfo& /*test_info*/) {
H A Dgtest_stress_test.cc118 const TestInfo* const info = UnitTest::GetInstance()->current_test_info();
144 const TestInfo* const info = UnitTest::GetInstance()->current_test_info();
H A Dgtest-param-test_test.cc798 const ::testing::TestInfo* const test_info =
876 const ::testing::TestInfo* test_info = test_case->GetTestInfo(test_num);
892 const ::testing::TestInfo* const test_info =
919 const ::testing::TestInfo* const test_info =
950 const ::testing::TestInfo* const test_info =
978 const ::testing::TestInfo* const test_info =
H A Dgtest_unittest.cc106 TestInfo test_info_obj_; // The name test_info_ was taken by testing::Test.
230 using testing::TestInfo;
1952 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info();
5296 // Tests the TestInfo class.
5300 static const TestInfo* GetTestInfo(const char* test_name) {
5305 const TestInfo* const test_info = test_case->GetTestInfo(i);
5313 const TestInfo* test_info) {
5318 // Tests TestInfo::test_case_name() and TestInfo::name().
5320 const TestInfo* cons
[all...]
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h174 class TestInfo;
373 friend class TestInfo;
564 friend class TestInfo;
633 // A TestInfo object stores the following information about a test:
641 // The constructor of TestInfo registers itself with the UnitTest
644 class GTEST_API_ TestInfo { class in namespace:testing
646 // Destructs a TestInfo object. This function is not virtual, so
647 // don't inherit from TestInfo.
648 ~TestInfo();
715 friend TestInfo* interna
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest-internal-inl.h638 // Adds a TestInfo to the unit test.
644 // test_info: the TestInfo object
647 TestInfo* test_info) {
680 // Sets the TestInfo object for the test that's currently running. If
683 void set_current_test_info(TestInfo* a_current_test_info) {
724 // result in each TestCase and TestInfo object.
734 TestInfo* current_test_info() { return current_test_info_; }
735 const TestInfo* current_test_info() const { return current_test_info_; }
866 // This points to the TestInfo for the currently running test. It
870 TestInfo* current_test_info
[all...]
H A Dgtest.cc2274 const TestInfo* const first_test_info = test_case->test_info_list()[0];
2279 const TestInfo* const this_test_info = impl->current_test_info();
2497 // class TestInfo
2499 // Constructs a TestInfo object. It assumes ownership of the test factory
2501 TestInfo::TestInfo(const std::string& a_test_case_name, function in class:testing::TestInfo
2520 // Destructs a TestInfo object.
2521 TestInfo::~TestInfo() { delete factory_; }
2525 // Creates a new TestInfo objec
[all...]
H A Dgtest-death-test.cc347 TestInfo* const info = GetUnitTestImpl()->current_test_info();
699 const TestInfo* const info = impl->current_test_info();
1122 const TestInfo* const info = impl->current_test_info();
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h526 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name,
549 linked_ptr<TestInfo> test_info = *test_it;
604 struct TestInfo { struct in class:testing::internal::ParameterizedTestCaseInfo
605 TestInfo(const char* a_test_case_base_name, function in struct:testing::internal::ParameterizedTestCaseInfo::TestInfo
616 typedef ::std::vector<linked_ptr<TestInfo> > TestInfoContainer;
H A Dgtest-internal.h89 class TestInfo; // Information about a test.
100 class TestInfoImpl; // Opaque implementation of TestInfo
511 // Creates a new TestInfo object and registers it with Google Test;
527 // The newly created TestInfo instance will assume
529 GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
1220 static ::testing::TestInfo* const test_info_ GTEST_ATTRIBUTE_UNUSED_;\
1225 ::testing::TestInfo* const GTEST_TEST_CLASS_NAME_(test_case_name, test_name)\
/gem5/ext/googletest/googlemock/test/
H A Dgmock_stress_test.cc303 const TestInfo* const info = UnitTest::GetInstance()->current_test_info();
/gem5/ext/googletest/googlemock/src/
H A Dgmock-spec-builders.cc729 const TestInfo* const test_info =

Completed in 83 milliseconds