/freebsd/contrib/byacc/ |
H A D | MANIFEST | 73 test/btyacc/btyacc_calc1.error reference output for testing 74 test/btyacc/btyacc_calc1.output reference output for testing 75 test/btyacc/btyacc_calc1.tab.c reference output for testing 76 test/btyacc/btyacc_calc1.tab.h reference output for testing 77 test/btyacc/btyacc_demo.error reference output for testing 78 test/btyacc/btyacc_demo.output reference output for testing 79 test/btyacc/btyacc_demo.tab.c reference output for testing 80 test/btyacc/btyacc_demo.tab.h reference output for testing 81 test/btyacc/btyacc_destroy1.error reference output for testing 82 test/btyacc/btyacc_destroy1.output reference output for testing [all …]
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-spi.h | 43 namespace testing { 155 ::testing::TestPartResultArray gtest_failures; \ 156 ::testing::internal::SingleFailureChecker gtest_checker( \ 157 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr)); \ 159 ::testing::ScopedFakeTestPartResultReporter gtest_reporter( \ 160 ::testing::ScopedFakeTestPartResultReporter:: \ 165 } while (::testing::internal::AlwaysFalse()) 173 ::testing::TestPartResultArray gtest_failures; \ 174 ::testing::internal::SingleFailureChecker gtest_checker( \ 175 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr)); \ [all …]
|
H A D | gtest-typed-test.h | 48 class FooTest : public testing::Test { 59 typedef testing::Types<char, int, unsigned int> MyTypes; 126 class FooTest : public testing::Test { 160 typedef testing::Types<char, int, unsigned int> MyTypes; 192 typedef ::testing::internal::GenerateTypeList<Types>::type \ 194 typedef ::testing::internal::NameGeneratorSelector<__VA_ARGS__>::type \ 210 ::testing::internal::TypeParameterizedTest< \ 212 ::testing::internal::TemplateSel<GTEST_TEST_CLASS_NAME_( \ 216 ::testing::internal::CodeLocation( \ 220 ::testing::internal::GenerateNames< \ [all …]
|
H A D | gtest-param-test.h | 55 class FooTest : public ::testing::TestWithParam<const char*> { 157 class BaseTest : public ::testing::Test { 162 class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> { 184 namespace testing { 453 private ::testing::internal::GTestNonCopyable { \ 460 ::testing::UnitTest::GetInstance() \ 464 ::testing::internal::CodeLocation(__FILE__, __LINE__)) \ 467 new ::testing::internal::TestMetaFactory<GTEST_TEST_CLASS_NAME_( \ 469 ::testing::internal::CodeLocation(__FILE__, __LINE__)); \ 497 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \ [all …]
|
H A D | gtest_pred_impl.h | 43 namespace testing { 79 if (const ::testing::AssertionResult gtest_ar = (expression)) \ 94 << e1 << " evaluates to " << ::testing::PrintToString(v1); in AssertPred1Helper() 105 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, #v1, pred, v1), on_failure) 127 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" in AssertPred2Helper() 128 << e2 << " evaluates to " << ::testing::PrintToString(v2); in AssertPred2Helper() 139 GTEST_ASSERT_(::testing::AssertPred2Helper(#pred, #v1, #v2, pred, v1, v2), \ 164 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" in AssertPred3Helper() 165 << e2 << " evaluates to " << ::testing::PrintToString(v2) << "\n" in AssertPred3Helper() 166 << e3 << " evaluates to " << ::testing::PrintToString(v3); in AssertPred3Helper() [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-output-test_.cc | 48 using testing::ScopedFakeTestPartResultReporter; 49 using testing::TestPartResultArray; 51 using testing::internal::Notification; 52 using testing::internal::ThreadWithParam; 55 namespace posix = ::testing::internal::posix; 72 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine() 84 class FailingParamTest : public testing::TestWithParam<int> {}; 91 testing::Values(2)); 95 class EmptyBasenameParamInst : public testing::TestWithParam<int> {}; 99 INSTANTIATE_TEST_SUITE_P(, EmptyBasenameParamInst, testing::Values(1)); [all …]
|
H A D | googletest-param-test-test.cc | 52 using ::testing::AddGlobalTestEnvironment; 53 using ::testing::Bool; 54 using ::testing::Combine; 55 using ::testing::ConvertGenerator; 56 using ::testing::Message; 57 using ::testing::Range; 58 using ::testing::TestWithParam; 59 using ::testing::Values; 60 using ::testing::ValuesIn; 62 using ::testing::internal::ParamGenerator; [all …]
|
H A D | gtest_xml_output_unittest_.cc | 44 using ::testing::InitGoogleTest; 45 using ::testing::Test; 46 using ::testing::TestEventListeners; 47 using ::testing::TestWithParam; 48 using ::testing::UnitTest; 49 using ::testing::Values; 145 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty() 150 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty() 171 typedef testing::Types<int, long> TypedTestTypes; 182 typedef testing::Types<int, long> TypeParameterizedTestSuiteTypes; // NOLINT [all …]
|
H A D | googletest-death-test-test.cc | 39 using testing::internal::AlwaysFalse; 40 using testing::internal::AlwaysTrue; 67 namespace posix = ::testing::internal::posix; 69 using testing::ContainsRegex; 70 using testing::Matcher; 71 using testing::Message; 72 using testing::internal::DeathTest; 73 using testing::internal::DeathTestFactory; 74 using testing::internal::FilePath; 75 using testing::internal::GetLastErrnoDescription; [all …]
|
H A D | googletest-failfast-unittest_.cc | 45 class HasFixtureTest : public testing::Test {}; 115 class HasParametersTest : public testing::TestWithParam<int> {}; 122 testing::Values(1, 2)); 124 class MyTestListener : public ::testing::EmptyTestEventListener { 125 void OnTestSuiteStart(const ::testing::TestSuite& test_suite) override { in OnTestSuiteStart() 129 void OnTestStart(const ::testing::TestInfo& test_info) override { in OnTestStart() 135 const ::testing::TestPartResult& test_part_result) override { in OnTestPartResult() 140 void OnTestEnd(const ::testing::TestInfo& test_info) override { in OnTestEnd() 145 void OnTestSuiteEnd(const ::testing::TestSuite& test_suite) override { in OnTestSuiteEnd() 163 ::testing::InitGoogleTest(&argc, argv); in main() [all …]
|
H A D | gtest_list_output_unittest_.cc | 47 class FooTestFixture : public ::testing::Test {}; 51 class ValueParamTest : public ::testing::TestWithParam<int> {}; 54 INSTANTIATE_TEST_SUITE_P(ValueParam, ValueParamTest, ::testing::Values(33, 42)); 57 class TypedTest : public ::testing::Test {}; 58 typedef testing::Types<int, bool> TypedTestTypes; 64 class TypeParameterizedTestSuite : public ::testing::Test {}; 69 typedef testing::Types<int, bool> TypeParameterizedTestSuiteTypes; // NOLINT 74 ::testing::InitGoogleTest(&argc, argv); in main()
|
H A D | gtest_repeat_test.cc | 47 if (::testing::internal::IsTrue(expected_val != actual_val)) { \ 52 ::testing::internal::posix::Abort(); \ 54 } while (::testing::internal::AlwaysFalse()) 62 class MyEnvironment : public testing::Environment { 92 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST() 95 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST() 102 class MyParamTest : public testing::TestWithParam<int> {}; 109 testing::Range(0, kNumberOfParamTests)); 119 testing::AddGlobalTestEnvironment(new MyEnvironment); in ResetCounts() 198 testing::InitGoogleTest(&argc, argv); in main()
|
H A D | gtest_assert_by_exception_test.cc | 40 class ThrowListener : public testing::EmptyTestEventListener { 41 void OnTestPartResult(const testing::TestPartResult& result) override { in OnTestPartResult() 42 if (result.type() == testing::TestPartResult::kFatalFailure) { in OnTestPartResult() 43 throw testing::AssertionException(result); in OnTestPartResult() 80 } catch (const testing::AssertionException& e) { in TEST() 99 testing::InitGoogleTest(&argc, argv); in main() 100 testing::UnitTest::GetInstance()->listeners().Append(new ThrowListener); in main()
|
H A D | gtest-typed-test_test.cc | 41 using testing::Test; 87 using testing::Types; 170 return std::string("char") + ::testing::PrintToString(i); in GetName() 173 return std::string("int") + ::testing::PrintToString(i); in GetName() 182 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST() 188 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST() 195 using testing::Types; 196 using testing::internal::TypedTestSuitePState; 298 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P() 304 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P() [all …]
|
H A D | googletest-list-tests-unittest_.cc | 57 class FooTest : public testing::Test {}; 82 class ValueParamTest : public testing::TestWithParam<MyType> {}; 90 testing::Values( 108 class TypedTest : public testing::Test {}; 113 typedef testing::Types< 127 class TypeParamTest : public testing::Test {}; 140 ::testing::InitGoogleTest(&argc, argv); in main()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock_link_test.h | 129 using testing::_; 130 using testing::A; 131 using testing::Action; 132 using testing::AllOf; 133 using testing::AnyOf; 134 using testing::Assign; 135 using testing::ContainerEq; 136 using testing::DoAll; 137 using testing::DoDefault; 138 using testing::DoubleEq; [all …]
|
H A D | gmock-matchers_test.h | 66 namespace testing { 81 using testing::internal::DummyMatchResultListener; 82 using testing::internal::ElementMatcherPair; 83 using testing::internal::ElementMatcherPairs; 84 using testing::internal::ElementsAreArrayMatcher; 85 using testing::internal::ExplainMatchFailureTupleTo; 86 using testing::internal::FloatingEqMatcher; 87 using testing::internal::FormatMatcherDescription; 88 using testing::internal::IsReadableTypeName; 89 using testing::internal::MatchMatrix; [all …]
|
/freebsd/cddl/usr.sbin/zfsd/tests/ |
H A D | zfsd_unittest.cc | 207 class ZfsdExceptionTest : public ::testing::Test 279 class VdevTest : public ::testing::Test 378 class ZfsEventTest : public ::testing::Test 421 class CaseFileTest : public ::testing::Test 437 .WillByDefault(::testing::Return(Guid(123))); in SetUp() 438 ON_CALL(*m_vdev, Name(::testing::_, ::testing::_)) in SetUp() 439 .WillByDefault(::testing::Return(string("/dev/da999"))); in SetUp() 441 .WillByDefault(::testing::Return(Guid(456))); in SetUp() 443 .WillByDefault(::testing::Return(VDEV_STATE_HEALTHY)); in SetUp() 445 ON_CALL(*m_caseFile, ReEvaluate(::testing::_)) in SetUp() [all …]
|
/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 53 namespace testing { 63 ::testing::internal::RE regex) { in MakeDeathTestMatcher() 205 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \ 208 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \ 210 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \ 223 if (::testing::internal::AlwaysTrue()) { \ 224 ::testing::internal::DeathTest* gtest_dt; \ 225 if (!::testing::internal::DeathTest::Create( \ 227 ::testing::internal::MakeDeathTestMatcher(regex_or_matcher), \ 232 std::unique_ptr< ::testing::internal::DeathTest> gtest_dt_ptr(gtest_dt); \ [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Support/ |
H A D | Error.h | 32 : public testing::MatcherInterface<const ExpectedHolder<T> &> { 34 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono() 38 testing::MatchResultListener *listener) const override { in MatchAndExplain() 65 testing::Matcher<T> Matcher; 74 operator testing::Matcher<const ExpectedHolder<T> &>() const { 76 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher))); 84 class ErrorMatchesMono : public testing::MatcherInterface<const ErrorHolder &> { 86 explicit ErrorMatchesMono(std::optional<testing::Matcher<InfoT &>> Matcher) in ErrorMatchesMono() 90 testing::MatchResultListener *listener) const override { in MatchAndExplain() 128 std::optional<testing::Matcher<InfoT &>> Matcher; [all …]
|
/freebsd/sys/contrib/openzfs/.github/workflows/ |
H A D | README.md | 13 functional-testing-20.04-->Part1-20.04 14 functional-testing-20.04-->Part2-20.04 15 functional-testing-20.04-->Part3-20.04 16 functional-testing-20.04-->Part4-20.04 17 functional-testing-22.04-->Part1-22.04 18 functional-testing-22.04-->Part2-22.04 19 functional-testing-22.04-->Part3-22.04 20 functional-testing-22.04-->Part4-22.04 34 Build-Ubuntu-20.04-->functional-testing-20.04 37 Build-Ubuntu-22.04-->functional-testing-22.04
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | deptgt-silent-jobs.exp | 1 compat: testing 1 2 compat: testing 2 3 compat: testing 3 4 jobs: testing 1 5 jobs: testing 2 6 jobs: testing 3
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/ADT/ |
H A D | StringMapEntry.h | 47 : public testing::MatcherInterface<StringMapEntryT> { 55 testing::SafeMatcherCast<const std::string &>(KeyMatcherArg)), 57 testing::SafeMatcherCast<const ValueT &>(ValueMatcherArg)) {} 75 testing::MatchResultListener *ResultListener) const override { 76 testing::StringMatchResultListener KeyListener; 83 testing::StringMatchResultListener ValueListener; 95 const testing::Matcher<const std::string &> KeyMatcher; 96 const testing::Matcher<const ValueT &> ValueMatcher; 106 operator testing::Matcher<StringMapEntryT>() const { // NOLINT 107 return testing::Matcher<StringMapEntryT>(
|
/freebsd/contrib/googletest/googletest/samples/ |
H A D | sample9_unittest.cc | 37 using ::testing::EmptyTestEventListener; 38 using ::testing::InitGoogleTest; 39 using ::testing::Test; 40 using ::testing::TestEventListeners; 41 using ::testing::TestInfo; 42 using ::testing::TestPartResult; 43 using ::testing::UnitTest; 132 const testing::TestSuite& test_suite = *unit_test.GetTestSuite(i); in main()
|
/freebsd/contrib/googletest/googlemock/include/gmock/internal/ |
H A D | gmock-port.h | 102 namespace testing { \ 107 namespace testing { \ 112 namespace testing { \ 119 namespace testing { \ 124 namespace testing { \ 129 namespace testing { \ 134 #define GMOCK_FLAG_GET(name) ::testing::GMOCK_FLAG(name) 135 #define GMOCK_FLAG_SET(name, value) (void)(::testing::GMOCK_FLAG(name) = value)
|