Home
last modified time | relevance | path

Searched refs:testing (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/freebsd-14.2/contrib/byacc/
H A DMANIFEST72 test/btyacc/btyacc_calc1.error reference output for testing
73 test/btyacc/btyacc_calc1.output reference output for testing
74 test/btyacc/btyacc_calc1.tab.c reference output for testing
75 test/btyacc/btyacc_calc1.tab.h reference output for testing
76 test/btyacc/btyacc_demo.error reference output for testing
77 test/btyacc/btyacc_demo.output reference output for testing
78 test/btyacc/btyacc_demo.tab.c reference output for testing
79 test/btyacc/btyacc_demo.tab.h reference output for testing
92 test/btyacc/calc.error reference output for testing
93 test/btyacc/calc.output reference output for testing
[all …]
/freebsd-14.2/contrib/googletest/googletest/include/gtest/
H A Dgtest-spi.h43 namespace testing {
165 } while (::testing::internal::AlwaysFalse())
182 } while (::testing::internal::AlwaysFalse())
219 ::testing::TestPartResultArray gtest_failures; \
220 ::testing::internal::SingleFailureChecker gtest_checker( \
221 &gtest_failures, ::testing::TestPartResult::kNonFatalFailure, \
224 ::testing::ScopedFakeTestPartResultReporter gtest_reporter( \
225 ::testing::ScopedFakeTestPartResultReporter:: \
228 if (::testing::internal::AlwaysTrue()) { \
232 } while (::testing::internal::AlwaysFalse())
[all …]
H A Dgtest-typed-test.h48 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 \
229 static_assert(::testing::internal::TypedTestCaseIsDeprecated(), ""); \
260 static ::testing::internal::TypedTestSuitePState \
266 static_assert(::testing::internal::TypedTestCase_P_IsDeprecated(), ""); \
310 ::testing::internal::TypeParameterizedTestSuite< \
[all …]
H A Dgtest-param-test.h55 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 {
497 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \
502 const ::testing::TestParamInfo<test_suite_name::ParamType>& info) { \
503 if (::testing::internal::AlwaysFalse()) { \
504 ::testing::internal::TestNotEmpty(GTEST_EXPAND_(GTEST_GET_SECOND_( \
506 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
533 static const ::testing::internal::MarkAsIgnored gtest_allow_ignore_##T( \
[all …]
H A Dgtest_pred_impl.h43 namespace testing {
79 if (const ::testing::AssertionResult gtest_ar = (expression)) \
94 << e1 << " evaluates to " << ::testing::PrintToString(v1); in AssertPred1Helper()
127 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" in AssertPred2Helper()
128 << e2 << " evaluates to " << ::testing::PrintToString(v2); in AssertPred2Helper()
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()
204 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" in AssertPred4Helper()
207 << e4 << " evaluates to " << ::testing::PrintToString(v4); in AssertPred4Helper()
[all …]
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-output-test_.cc49 using testing::TestPartResultArray;
51 using testing::internal::Notification;
52 using testing::internal::ThreadWithParam;
55 namespace posix = ::testing::internal::posix;
952 testing::RegisterTest(
955 testing::RegisterTest(
960 testing::RegisterTest(
966 testing::RegisterTest(
969 testing::RegisterTest(
975 testing::RegisterTest(
[all …]
H A Dgoogletest-param-test-test.cc52 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 Dgtest_xml_output_unittest_.cc44 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 Dgtest_list_output_unittest_.cc47 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 Dgoogletest-failfast-unittest_.cc45 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 Dgoogletest-death-test-test.cc37 using testing::internal::AlwaysFalse;
38 using testing::internal::AlwaysTrue;
67 using testing::ContainsRegex;
68 using testing::Matcher;
69 using testing::Message;
70 using testing::internal::DeathTest;
71 using testing::internal::DeathTestFactory;
72 using testing::internal::FilePath;
74 using testing::internal::GetUnitTestImpl;
75 using testing::internal::InDeathTestChild;
[all …]
H A Dgtest_assert_by_exception_test.cc40 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 Dgtest_repeat_test.cc47 if (::testing::internal::IsTrue(expected_val != actual_val)) { \
52 ::testing::internal::posix::Abort(); \
54 } while (::testing::internal::AlwaysFalse())
62 class MyEnvironment : public testing::Environment {
93 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
96 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
103 class MyParamTest : public testing::TestWithParam<int> {};
110 testing::Range(0, kNumberOfParamTests));
198 testing::InitGoogleTest(&argc, argv); in main()
200 testing::AddGlobalTestEnvironment(new MyEnvironment); in main()
H A Dgoogletest-list-tests-unittest_.cc57 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()
H A Dgtest-typed-test_test.cc41 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 …]
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock_link_test.h129 using testing::_;
130 using testing::A;
132 using testing::AllOf;
142 using testing::Eq;
145 using testing::Ge;
146 using testing::Gt;
155 using testing::Le;
156 using testing::Lt;
161 using testing::Ne;
162 using testing::Not;
[all …]
H A Dgmock-matchers_test.h66 namespace testing {
81 using testing::internal::DummyMatchResultListener;
82 using testing::internal::ElementMatcherPair;
83 using testing::internal::ElementMatcherPairs;
84 using testing::internal::ElementsAreArrayMatcher;
86 using testing::internal::FloatingEqMatcher;
87 using testing::internal::FormatMatcherDescription;
88 using testing::internal::IsReadableTypeName;
89 using testing::internal::MatchMatrix;
91 using testing::internal::RE;
[all …]
/freebsd-14.2/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc435 ON_CALL(*m_vdev, Name(::testing::_, ::testing::_)) in SetUp()
504 .Times(::testing::Exactly(0)); in TEST_F()
532 .Times(::testing::AtMost(1)) in TEST_F()
598 .Times(::testing::AtMost(1)) in TEST_F()
647 .Times(::testing::AtMost(1)) in TEST_F()
782 .Times(::testing::Exactly(0)); in TEST_F()
798 .Times(::testing::Exactly(1)) in TEST_F()
819 .Times(::testing::Exactly(1)) in TEST_F()
822 .Times(::testing::Exactly(1)) in TEST_F()
825 .Times(::testing::Exactly(0)); in TEST_F()
[all …]
/freebsd-14.2/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h52 namespace testing {
177 ::testing::internal::RE regex) { in MakeDeathTestMatcher()
206 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
209 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
211 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
224 if (::testing::internal::AlwaysTrue()) { \
251 : fail(::testing::internal::DeathTest::LastMessage())
262 if (::testing::internal::AlwaysTrue()) { \
264 } else if (!::testing::internal::AlwaysTrue()) { \
265 ::testing::internal::MakeDeathTestMatcher(regex_or_matcher); \
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h32 : public testing::MatcherInterface<const ExpectedHolder<T> &> {
34 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono()
65 testing::Matcher<T> Matcher;
74 operator testing::Matcher<const ExpectedHolder<T> &>() const {
128 std::optional<testing::Matcher<InfoT &>> Matcher;
132 : public testing::MatcherInterface<const ErrorHolder &> {
135 testing::Matcher<std::vector<std::string>> Matcher) in ErrorMessageMatches()
159 testing::Matcher<std::vector<std::string>> Matcher;
198 testing::Matcher<const detail::ErrorHolder &> Failed() { in Failed()
203 testing::Matcher<const detail::ErrorHolder &> Failed(M Matcher) { in Failed()
[all …]
/freebsd-14.2/sys/contrib/openzfs/.github/workflows/
H A DREADME.md13 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-14.2/contrib/bmake/unit-tests/
H A Ddeptgt-silent-jobs.exp1 compat: testing 1
2 compat: testing 2
3 compat: testing 3
4 jobs: testing 1
5 jobs: testing 2
6 jobs: testing 3
/freebsd-14.2/contrib/googletest/googletest/samples/
H A Dsample9_unittest.cc37 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-14.2/contrib/llvm-project/llvm/include/llvm/Testing/ADT/
H A DStringMapEntry.h47 : 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-14.2/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-port.h102 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)

12345678910>>...23