| /freebsd-13.1/contrib/googletest/googletest/samples/ |
| H A D | sample9_unittest.cc | 61 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 64 test_info.test_case_name(), in OnTestStart() 65 test_info.name()); in OnTestStart() 81 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument 84 test_info.test_case_name(), in OnTestEnd() 85 test_info.name()); in OnTestEnd() 141 const TestInfo& test_info = *test_case.GetTestInfo(j); in main() local 144 if (test_info.result()->Failed() && in main() 145 strcmp(test_info.name(), "Fails") != 0) { in main()
|
| /freebsd-13.1/contrib/googletest/googletest/test/ |
| H A D | googletest-param-test-test.cc | 836 const ::testing::TestInfo* const test_info = in TEST_P() local 843 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P() 857 const ::testing::TestInfo* const test_info = in TEST_P() local 861 EXPECT_STREQ("FooSomeTestName", test_info->name()); in TEST_P() 871 const ::testing::TestInfo* const test_info = in TEST_F() local 875 EXPECT_STREQ("FooSomeTestName", test_info->name()); in TEST_F() 942 test_names.insert(std::string(test_info->name())); in TEST() 957 const ::testing::TestInfo* const test_info = in TEST_P() local 984 const ::testing::TestInfo* const test_info = in TEST_P() local 1015 const ::testing::TestInfo* const test_info = in TEST_P() local [all …]
|
| H A D | googletest-shuffle-test_.cc | 85 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 86 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
|
| H A D | gtest-unittest-api_test.cc | 220 const TestInfo* const test_info = test_case->GetTestInfo(0); in TEST() local 221 EXPECT_STREQ("Dummy2", test_info->name()); in TEST() 222 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name()); in TEST() 223 EXPECT_TRUE(IsNull(test_info->value_param())); in TEST() 224 EXPECT_TRUE(IsNull(test_info->type_param())); in TEST() 225 EXPECT_FALSE(test_info->should_run()); in TEST()
|
| H A D | gtest_unittest.cc | 1974 ASSERT_TRUE(test_info != NULL); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest() 5338 return test_info; in GetTestInfo() 5344 const TestInfo* test_info) { in GetTestResult() argument 5345 return test_info->result(); in GetTestResult() 5371 ASSERT_TRUE(test_info); \ 6546 const TestInfo* test_info = in SetUpTestCase() local 6555 const TestInfo* test_info = in TearDownTestCase() local 6565 const TestInfo* test_info = in TEST_F() local 6567 ASSERT_TRUE(NULL != test_info) in TEST_F() 6580 const TestInfo* test_info = in TEST_F() local [all …]
|
| /freebsd-13.1/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest.h | 792 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 793 test_info->result_.Clear(); in ClearTestResult() 922 void AddTestInfo(TestInfo * test_info); 944 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 945 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 950 return test_info->should_run() && test_info->result()->Skipped(); in TestSkipped() 955 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 961 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 966 return test_info->is_disabled_; in TestDisabled() 971 return test_info->is_reportable(); in TestReportable() [all …]
|
| /freebsd-13.1/contrib/googletest/googletest/src/ |
| H A D | gtest.cc | 2617 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2621 return test_info; in MakeAndRegisterTestInfo() 2663 return test_info && test_info->name() == name_; in operator ()() 2818 test_info_list_.push_back(test_info); in AddTestInfo() 3212 PrintTestName(test_info.test_case_name(), test_info.name()); in OnTestStart() 3235 if (test_info.result()->Passed()) { in OnTestEnd() 3242 PrintTestName(test_info.test_case_name(), test_info.name()); in OnTestEnd() 3243 if (test_info.result()->Failed()) in OnTestEnd() 3288 if (!test_info.should_run() || !test_info.result()->Failed()) { in PrintFailedTests() 3313 if (!test_info.should_run() || !test_info.result()->Skipped()) { in PrintSkippedTests() [all …]
|
| H A D | gtest-internal-inl.h | 656 TestInfo* test_info) { in AddTestInfo() argument 670 GetTestCase(test_info->test_case_name(), in AddTestInfo() 671 test_info->type_param(), in AddTestInfo() 673 tear_down_tc)->AddTestInfo(test_info); in AddTestInfo() 1148 void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 1149 SendLn(std::string("event=TestStart&name=") + test_info.name()); in OnTestStart() 1152 void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument 1154 FormatBool((test_info.result())->Passed()) + in OnTestEnd() 1156 StreamableToString((test_info.result())->elapsed_time()) + "ms"); in OnTestEnd()
|
| /freebsd-13.1/contrib/googletest/googlemock/src/ |
| H A D | gmock-spec-builders.cc | 782 const TestInfo* const test_info = in RegisterUseByOnCallOrExpectCall() local 784 if (test_info != NULL) { in RegisterUseByOnCallOrExpectCall() 788 state.first_used_test_case = test_info->test_case_name(); in RegisterUseByOnCallOrExpectCall() 789 state.first_used_test = test_info->name(); in RegisterUseByOnCallOrExpectCall()
|
| /freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 544 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests() local 557 test_case_name += test_info->test_case_base_name; in RegisterTests() 580 test_name_stream << test_info->test_base_name << "/" << param_name; in RegisterTests() 590 test_info->test_meta_factory->CreateTestFactory(*param_it)); in RegisterTests()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/test_helper/ |
| H A D | test_helper.c | 229 test_info(char *s, size_t len) in test_info() function 241 test_info(buf, sizeof(buf)); in siginfo()
|
| H A D | fuzz.c | 206 test_info(buf, sizeof(buf)); in siginfo()
|
| H A D | test_helper.h | 45 void test_info(char *s, size_t len);
|
| /freebsd-13.1/contrib/googletest/googletest/docs/ |
| H A D | advanced.md | 1848 const ::testing::TestInfo* const test_info = 1854 test_info->name(), 1855 test_info->test_case_name()); 1903 virtual void OnTestStart(const ::testing::TestInfo& test_info) { 1905 test_info.test_case_name(), test_info.name()); 1918 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { 1920 test_info.test_case_name(), test_info.name());
|