/gem5/ext/googletest/googletest/samples/ |
H A D | sample9_unittest.cc | 64 virtual void OnTestStart(const TestInfo& test_info) { argument 67 test_info.test_case_name(), 68 test_info.name()); 84 virtual void OnTestEnd(const TestInfo& test_info) { argument 87 test_info.test_case_name(), 88 test_info.name()); 145 const TestInfo& test_info = *test_case.GetTestInfo(j); local 148 if (test_info.result()->Failed() && 149 strcmp(test_info.name(), "Fails") != 0) {
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_shuffle_test_.cc | 86 virtual void OnTestStart(const TestInfo& test_info) { argument 87 printf("%s.%s\n", test_info.test_case_name(), test_info.name());
|
H A D | gtest-unittest-api_test.cc | 221 const TestInfo* const test_info = test_case->GetTestInfo(0); local 222 EXPECT_STREQ("Dummy2", test_info->name()); 223 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name()); 224 EXPECT_TRUE(IsNull(test_info->value_param())); 225 EXPECT_TRUE(IsNull(test_info->type_param())); 226 EXPECT_FALSE(test_info->should_run());
|
H A D | gtest-param-test_test.cc | 798 const ::testing::TestInfo* const test_info = member in class:testing 801 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name()); 805 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); 807 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); 876 const ::testing::TestInfo* test_info = test_case->GetTestInfo(test_num); local 877 test_names.insert(std::string(test_info->name())); 892 const ::testing::TestInfo* const test_info = member in class:testing 896 EXPECT_STREQ(test_name_stream.GetString().c_str(), test_info->name()); 919 const ::testing::TestInfo* const test_info = member in class:testing 923 EXPECT_STREQ(test_name_stream.GetString().c_str(), test_info 950 const ::testing::TestInfo* const test_info = member in class:testing 978 const ::testing::TestInfo* const test_info = member in class:testing [all...] |
H A D | gtest_unittest.cc | 1952 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info(); local 1953 ASSERT_TRUE(test_info != NULL); 1954 ExpectNonFatalFailureRecordingPropertyWithReservedKey(*test_info->result(), 5305 const TestInfo* const test_info = test_case->GetTestInfo(i); local 5306 if (strcmp(test_name, test_info->name()) == 0) 5307 return test_info; 5313 const TestInfo* test_info) { 5314 return test_info->result(); 5320 const TestInfo* const test_info = GetTestInfo("Names"); local 5322 ASSERT_STREQ("TestInfoTest", test_info 5312 GetTestResult( const TestInfo* test_info) argument 5328 const TestInfo* const test_info = GetTestInfo("result"); local 6515 const TestInfo* test_info = local 6524 const TestInfo* test_info = local 6534 const TestInfo* test_info = local 6549 const TestInfo* test_info = local [all...] |
/gem5/ext/googletest/googletest/include/gtest/ |
H A D | gtest.h | 746 static void ClearTestResult(TestInfo* test_info) { argument 747 test_info->result_.Clear(); 872 void AddTestInfo(TestInfo * test_info); 894 static bool TestPassed(const TestInfo* test_info) { argument 895 return test_info->should_run() && test_info->result()->Passed(); 899 static bool TestFailed(const TestInfo* test_info) { argument 900 return test_info->should_run() && test_info->result()->Failed(); 905 static bool TestReportableDisabled(const TestInfo* test_info) { argument 910 TestDisabled(const TestInfo* test_info) argument 915 TestReportable(const TestInfo* test_info) argument 920 ShouldRunTest(const TestInfo* test_info) argument [all...] |
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-internal-inl.h | 644 // test_info: the TestInfo object 647 TestInfo* test_info) { 661 GetTestCase(test_info->test_case_name(), 662 test_info->type_param(), 664 tear_down_tc)->AddTestInfo(test_info); 1143 void OnTestStart(const TestInfo& test_info) { argument 1144 SendLn(std::string("event=TestStart&name=") + test_info.name()); 1147 void OnTestEnd(const TestInfo& test_info) { argument 1149 FormatBool((test_info.result())->Passed()) + 1151 StreamableToString((test_info 645 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo* test_info) argument [all...] |
H A D | gtest.cc | 2553 TestInfo* const test_info = local 2556 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); 2557 return test_info; 2601 // Returns true iff the test name of test_info matches name_. 2602 bool operator()(const TestInfo * test_info) const { 2603 return test_info && test_info->name() == name_; 2753 void TestCase::AddTestInfo(TestInfo * test_info) { argument 2754 test_info_list_.push_back(test_info); 3009 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { argument 3111 OnTestStart(const TestInfo& test_info) argument 3130 OnTestEnd(const TestInfo& test_info) argument 3181 const TestInfo& test_info = *test_case.GetTestInfo(j); local 3625 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument 4807 TestInfo* const test_info = test_case->test_info_list()[j]; local 4874 const TestInfo* const test_info = local [all...] |
/gem5/ext/googletest/googlemock/src/ |
H A D | gmock-spec-builders.cc | 729 const TestInfo* const test_info = local 731 if (test_info != NULL) { 735 state.first_used_test_case = test_info->test_case_name(); 736 state.first_used_test = test_info->name();
|
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-param-util.h | 549 linked_ptr<TestInfo> test_info = *test_it; local 562 test_case_name += test_info->test_case_base_name; 585 test_name_stream << test_info->test_base_name << "/" << param_name; 595 test_info->test_meta_factory->CreateTestFactory(*param_it));
|