| /freebsd-14.2/contrib/googletest/googletest/samples/ |
| H A D | sample9_unittest.cc | 59 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument 60 fprintf(stdout, "*** Test %s.%s starting.\n", test_info.test_suite_name(), in OnTestStart() 61 test_info.name()); in OnTestStart() 75 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd() argument 76 fprintf(stdout, "*** Test %s.%s ending.\n", test_info.test_suite_name(), in OnTestEnd() 77 test_info.name()); in OnTestEnd() 134 const TestInfo& test_info = *test_suite.GetTestInfo(j); in main() local 137 if (test_info.result()->Failed() && in main() 138 strcmp(test_info.name(), "Fails") != 0) { in main()
|
| /freebsd-14.2/contrib/googletest/googletest/test/ |
| H A D | googletest-failfast-unittest_.cc | 129 void OnTestStart(const ::testing::TestInfo& test_info) override { in OnTestStart() argument 130 printf("We are in OnTestStart of %s.%s.\n", test_info.test_suite_name(), in OnTestStart() 131 test_info.name()); in OnTestStart() 140 void OnTestEnd(const ::testing::TestInfo& test_info) override { in OnTestEnd() argument 141 printf("We are in OnTestEnd of %s.%s.\n", test_info.test_suite_name(), in OnTestEnd() 142 test_info.name()); in OnTestEnd()
|
| H A D | googletest-param-test-test.cc | 839 const ::testing::TestInfo* const test_info = in TEST_P() local 846 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P() 860 const ::testing::TestInfo* const test_info = in TEST_P() local 864 EXPECT_STREQ("FooSomeTestName/0", test_info->name()); in TEST_P() 874 const ::testing::TestInfo* const test_info = in TEST_F() local 878 EXPECT_STREQ("FooSomeTestName", test_info->name()); in TEST_F() 968 test_names.insert(std::string(test_info->name())); in TEST() 982 const ::testing::TestInfo* const test_info = in TEST_P() local 1007 const ::testing::TestInfo* const test_info = in TEST_P() local 1037 const ::testing::TestInfo* const test_info = in TEST_P() local [all …]
|
| H A D | googletest-shuffle-test_.cc | 82 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument 83 printf("%s.%s\n", test_info.test_suite_name(), test_info.name()); in OnTestStart()
|
| H A D | gtest-unittest-api_test.cc | 211 const TestInfo* const test_info = test_suite->GetTestInfo(0); in TEST() local 212 EXPECT_STREQ("Dummy2", test_info->name()); in TEST() 213 EXPECT_STREQ("DISABLED_Test", test_info->test_suite_name()); in TEST() 214 EXPECT_TRUE(IsNull(test_info->value_param())); in TEST() 215 EXPECT_TRUE(IsNull(test_info->type_param())); in TEST() 216 EXPECT_FALSE(test_info->should_run()); in TEST()
|
| H A D | gtest_unittest.cc | 2016 ASSERT_TRUE(test_info != nullptr); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest() 5263 if (strcmp(test_name, test_info->name()) == 0) return test_info; in GetTestInfo() 5269 return test_info->result(); in GetTestResult() 5275 const TestInfo* const test_info = GetTestInfo("Names"); in TEST_F() local 5278 ASSERT_STREQ("Names", test_info->name()); in TEST_F() 5283 const TestInfo* const test_info = GetTestInfo("result"); in TEST_F() local 5297 EXPECT_EQ(expected_line, test_info->line()) 6353 EXPECT_TRUE(test_info == nullptr) in SetUpTestSuite() 6361 EXPECT_TRUE(test_info == nullptr) in TearDownTestSuite() 6370 ASSERT_TRUE(nullptr != test_info) in TEST_F() [all …]
|
| /freebsd-14.2/sys/tests/ |
| H A D | ktest.c | 97 struct ktest_module *mod, const struct ktest_test_info *test_info) in dump_mod_test() argument 105 nlattr_add_string(nw, KTEST_ATTR_TEST_NAME, test_info->name); in dump_mod_test() 106 nlattr_add_string(nw, KTEST_ATTR_TEST_DESCR, test_info->desc); in dump_mod_test() 120 const struct ktest_test_info *test_info = &mod->info->tests[i]; in dump_mod_tests() local 121 if (attrs->test_name != NULL && strcmp(attrs->test_name, test_info->name)) in dump_mod_tests() 123 int error = dump_mod_test(hdr, npt, mod, test_info); in dump_mod_tests() 193 const struct ktest_test_info *test_info = &info->tests[i]; in run_test() local 195 if (!strcmp(attrs.test_name, test_info->name)) { in run_test() 196 test = test_info; in run_test()
|
| /freebsd-14.2/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest.h | 639 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 640 test_info->result_.Clear(); in ClearTestResult() 775 void AddTestInfo(TestInfo* test_info); 808 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 809 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 814 return test_info->should_run() && test_info->result()->Skipped(); in TestSkipped() 819 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 825 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 830 return test_info->is_disabled_; in TestDisabled() 835 return test_info->is_reportable(); in TestReportable() [all …]
|
| /freebsd-14.2/contrib/googletest/googletest/src/ |
| H A D | gtest.cc | 2768 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2772 return test_info; in MakeAndRegisterTestInfo() 3466 PrintTestName(test_info.test_suite_name(), test_info.name()); in OnTestStart() 3473 PrintTestName(test_info.test_suite_name(), test_info.name()); in OnTestDisabled() 3494 if (test_info.result()->Passed()) { in OnTestEnd() 3501 PrintTestName(test_info.test_suite_name(), test_info.name()); in OnTestEnd() 3502 if (test_info.result()->Failed()) PrintFullTestCommentIfPresent(test_info); in OnTestEnd() 3558 if (!test_info.should_run() || !test_info.result()->Failed()) { in PrintFailedTests() 3607 if (!test_info.should_run() || !test_info.result()->Skipped()) { in PrintSkippedTests() 3712 if (test_info.result()->Failed()) { in OnTestEnd() [all …]
|
| H A D | gtest-internal-inl.h | 674 TestInfo* test_info) { in AddTestInfo() argument 690 GetTestSuite(test_info->test_suite_name(), test_info->type_param(), in AddTestInfo() 692 ->AddTestInfo(test_info); in AddTestInfo() 1177 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument 1178 SendLn(std::string("event=TestStart&name=") + test_info.name()); in OnTestStart() 1181 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd() argument 1183 FormatBool((test_info.result())->Passed()) + "&elapsed_time=" + in OnTestEnd() 1184 StreamableToString((test_info.result())->elapsed_time()) + "ms"); in OnTestEnd()
|
| /freebsd-14.2/contrib/googletest/googlemock/src/ |
| H A D | gmock-spec-builders.cc | 696 const TestInfo* const test_info = in RegisterUseByOnCallOrExpectCall() local 698 if (test_info != nullptr) { in RegisterUseByOnCallOrExpectCall() 699 state.first_used_test_suite = test_info->test_suite_name(); in RegisterUseByOnCallOrExpectCall() 700 state.first_used_test = test_info->name(); in RegisterUseByOnCallOrExpectCall()
|
| /freebsd-14.2/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 558 std::shared_ptr<TestInfo> test_info = *test_it; in RegisterTests() local 571 test_suite_name += test_info->test_suite_base_name; in RegisterTests() 595 if (!test_info->test_base_name.empty()) { in RegisterTests() 596 test_name_stream << test_info->test_base_name << "/"; in RegisterTests() 602 PrintToString(*param_it).c_str(), test_info->code_location, in RegisterTests() 606 test_info->test_meta_factory->CreateTestFactory(*param_it)); in RegisterTests()
|
| /freebsd-14.2/crypto/openssh/regress/unittests/test_helper/ |
| H A D | test_helper.c | 230 test_info(char *s, size_t len) in test_info() function 242 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-14.2/crypto/openssl/test/ |
| H A D | testutil.h | 409 void test_info(const char *file, int line, const char *desc, ...) 538 # define TEST_info(...) test_info(__FILE__, __LINE__, __VA_ARGS__)
|
| /freebsd-14.2/crypto/openssl/test/testutil/ |
| H A D | driver.c | 30 typedef struct test_info { struct
|
| H A D | tests.c | 109 void test_info(const char *file, int line, const char *desc, ...) in test_info() function
|
| /freebsd-14.2/contrib/googletest/docs/ |
| H A D | advanced.md | 1662 const testing::TestInfo* const test_info = 1666 test_info->name(), 1667 test_info->test_suite_name()); 1713 void OnTestStart(const testing::TestInfo& test_info) override { 1715 test_info.test_suite_name(), test_info.name()); 1728 void OnTestEnd(const testing::TestInfo& test_info) override { 1730 test_info.test_suite_name(), test_info.name());
|
| /freebsd-14.2/contrib/googletest/docs/reference/ |
| H A D | testing.md | 976 `virtual void TestEventListener::OnTestStart(const TestInfo& test_info)` 991 `virtual void TestEventListener::OnTestEnd(const TestInfo& test_info)`
|