Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd-13.1/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-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-spi.h44 namespace testing {
149 ::testing::TestPartResultArray gtest_failures;\
154 ::testing::ScopedFakeTestPartResultReporter:: \
158 } while (::testing::internal::AlwaysFalse())
166 ::testing::TestPartResultArray gtest_failures;\
171 ::testing::ScopedFakeTestPartResultReporter:: \
175 } while (::testing::internal::AlwaysFalse())
211 ::testing::TestPartResultArray gtest_failures;\
221 } while (::testing::internal::AlwaysFalse())
225 ::testing::TestPartResultArray gtest_failures;\
[all …]
H A Dgtest-typed-test.h47 class FooTest : public testing::Test {
58 typedef testing::Types<char, int, unsigned int> MyTypes;
125 class FooTest : public testing::Test {
159 typedef testing::Types<char, int, unsigned int> MyTypes;
195 typedef ::testing::internal::TypeList< Types >::type GTEST_TYPE_PARAMS_( \
197 typedef ::testing::internal::NameGeneratorSelector<__VA_ARGS__>::type \
259 static ::testing::internal::TypedTestCasePState \
292 ::testing::internal::TypeParameterizedTestCase< \
294 ::testing::internal::TypeList< Types >::type>:: \
296 ::testing::internal::CodeLocation(__FILE__, __LINE__), \
[all …]
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-function-mockers.h51 namespace testing {
424 (::testing::tuple_size<tn ::testing::internal::Function< \
448 (::testing::tuple_size<tn ::testing::internal::Function< \
476 (::testing::tuple_size<tn ::testing::internal::Function< \
509 (::testing::tuple_size<tn ::testing::internal::Function< \
548 (::testing::tuple_size<tn ::testing::internal::Function< \
592 (::testing::tuple_size<tn ::testing::internal::Function< \
641 (::testing::tuple_size<tn ::testing::internal::Function< \
695 (::testing::tuple_size<tn ::testing::internal::Function< \
755 (::testing::tuple_size<tn ::testing::internal::Function< \
[all …]
H A Dgmock-generated-matchers.h49 namespace testing {
579 ::testing::tuple<
589 ::testing::tuple<
601 ::testing::tuple<
615 ::testing::tuple<
631 ::testing::tuple<
651 ::testing::tuple<
673 ::testing::tuple<
697 ::testing::tuple<
724 ::testing::tuple<
[all …]
H A Dgmock-generated-actions.h47 namespace testing {
57 class InvokeHelper<R, ::testing::tuple<> > {
67 const ::testing::tuple<>&) { in InvokeMethod()
79 class InvokeHelper<R, ::testing::tuple<A1> > {
101 class InvokeHelper<R, ::testing::tuple<A1, A2> > {
1390 return ::testing::Action<F>(\
2271 namespace testing {
2392 ::testing::get<k>(args)); in ACTION_TEMPLATE()
2401 ::testing::get<k>(args), p0); in ACTION_TEMPLATE()
2410 ::testing::get<k>(args), p0, p1); in ACTION_TEMPLATE()
[all …]
H A Dgmock-generated-nice-strict.h73 namespace testing {
79 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
93 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
101 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
109 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
114 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
120 ::testing::Mock::AllowUninterestingCalls( in NiceMock()
185 ::testing::Mock::UnregisterCallReaction( in ~NiceMock()
197 ::testing::Mock::WarnUninterestingCalls( in NaggyMock()
211 ::testing::Mock::WarnUninterestingCalls( in NaggyMock()
[all …]
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-output-test_.cc47 using testing::ScopedFakeTestPartResultReporter;
48 using testing::TestPartResultArray;
50 using testing::internal::Notification;
51 using testing::internal::ThreadWithParam;
54 namespace posix = ::testing::internal::posix;
73 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine()
97 testing::Values(2));
795 class TypedTest : public testing::Test {
836 class TypedTestP : public testing::Test {
1070 testing::GTEST_FLAG(print_time) = false; in main()
[all …]
H A Dgoogletest-death-test-test.cc37 using testing::internal::AlwaysFalse;
38 using testing::internal::AlwaysTrue;
62 using testing::Message;
63 using testing::internal::DeathTest;
64 using testing::internal::DeathTestFactory;
65 using testing::internal::FilePath;
67 using testing::internal::GetUnitTestImpl;
68 using testing::internal::InDeathTestChild;
71 namespace testing { namespace
251 const testing::ExitedWithCode pred0(0); in TEST()
[all …]
H A Dgtest_repeat_test.cc38 namespace testing { namespace
46 using testing::GTEST_FLAG(death_test_style);
47 using testing::GTEST_FLAG(filter);
48 using testing::GTEST_FLAG(repeat);
63 ::testing::internal::posix::Abort();\
65 } while (::testing::internal::AlwaysFalse())
74 class MyEnvironment : public testing::Environment {
117 class MyParamTest : public testing::TestWithParam<int> {};
126 testing::Range(0, kNumberOfParamTests));
210 testing::InitGoogleTest(&argc, argv); in main()
[all …]
H A Dgtest-typed-test_test.cc42 using testing::Test;
93 using testing::Types;
180 if (testing::internal::IsSame<T, char>::value) { in GetName()
183 if (testing::internal::IsSame<T, int>::value) { in GetName()
193 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST()
199 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST()
211 using testing::Types;
212 using testing::internal::TypedTestCasePState;
315 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P()
321 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P()
[all …]
H A Dgoogletest-param-test-test.cc51 using ::testing::Bool;
52 using ::testing::Message;
53 using ::testing::Range;
54 using ::testing::TestWithParam;
55 using ::testing::Values;
56 using ::testing::ValuesIn;
59 using ::testing::Combine;
60 using ::testing::get;
61 using ::testing::make_tuple;
62 using ::testing::tuple;
[all …]
H A Dgoogletest-listener-test.cc39 using ::testing::AddGlobalTestEnvironment;
40 using ::testing::Environment;
41 using ::testing::InitGoogleTest;
42 using ::testing::Test;
43 using ::testing::TestCase;
44 using ::testing::TestEventListener;
45 using ::testing::TestInfo;
46 using ::testing::TestPartResult;
47 using ::testing::UnitTest;
52 namespace testing { namespace
[all …]
H A Dgtest_xml_output_unittest_.cc41 using ::testing::InitGoogleTest;
42 using ::testing::TestEventListeners;
43 using ::testing::TestWithParam;
44 using ::testing::UnitTest;
45 using ::testing::Test;
46 using ::testing::Values;
125 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty()
130 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty()
152 typedef testing::Types<int, long> TypedTestTypes;
164 typedef testing::Types<int, long> TypeParameterizedTestCaseTypes;
[all …]
H A Dgoogletest-shuffle-test_.cc37 using ::testing::EmptyTestEventListener;
38 using ::testing::InitGoogleTest;
39 using ::testing::Message;
40 using ::testing::Test;
41 using ::testing::TestEventListeners;
42 using ::testing::TestInfo;
43 using ::testing::UnitTest;
44 using ::testing::internal::scoped_ptr;
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()
82 } catch(const testing::AssertionException& e) { in TEST()
105 testing::InitGoogleTest(&argc, argv); in main()
106 testing::UnitTest::GetInstance()->listeners().Append(new ThrowListener); in main()
H A Dgtest_environment_test.cc38 namespace testing { namespace
49 class MyEnvironment : public testing::Environment {
115 testing::internal::posix::Abort(); in Check()
127 testing::internal::GetUnitTestImpl()->ClearAdHocTestResult(); in RunAllTests()
134 testing::InitGoogleTest(&argc, argv); in main()
139 Check(testing::AddGlobalTestEnvironment(env) == env, in main()
177 testing::GTEST_FLAG(filter) = "-*"; in main()
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock_link_test.h130 using testing::_;
131 using testing::A;
133 using testing::AllOf;
143 using testing::Eq;
146 using testing::Ge;
147 using testing::Gt;
156 using testing::Le;
157 using testing::Lt;
162 using testing::Ne;
163 using testing::Not;
[all …]
H A Dgmock_output_test_.cc47 using testing::_;
48 using testing::AnyNumber;
49 using testing::Ge;
50 using testing::InSequence;
51 using testing::NaggyMock;
52 using testing::Ref;
53 using testing::Return;
54 using testing::Sequence;
55 using testing::Value;
75 testing::GMOCK_FLAG(verbose) = "info"; in TEST_F()
[all …]
/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h43 namespace testing {
191 if (::testing::internal::AlwaysTrue()) { \
192 const ::testing::internal::RE& gtest_regex = (regex); \
193 ::testing::internal::DeathTest* gtest_dt; \
199 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
202 case ::testing::internal::DeathTest::OVERSEE_TEST: \
207 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
208 ::testing::internal::DeathTest::ReturnSentinel \
220 fail(::testing::internal::DeathTest::LastMessage())
231 if (::testing::internal::AlwaysTrue()) { \
[all …]
/freebsd-13.1/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc278 class VdevTest : public ::testing::Test
504 .Times(::testing::Exactly(0)); in TEST_F()
532 .Times(::testing::AtMost(1)) in TEST_F()
581 .Times(::testing::AtMost(1)) in TEST_F()
716 .Times(::testing::Exactly(0)); in TEST_F()
732 .Times(::testing::Exactly(1)) in TEST_F()
753 .Times(::testing::Exactly(1)) in TEST_F()
756 .Times(::testing::Exactly(1)) in TEST_F()
759 .Times(::testing::Exactly(0)); in TEST_F()
761 .Times(::testing::Exactly(0)); in TEST_F()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h33 : public testing::MatcherInterface<const ExpectedHolder<T> &> {
35 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono()
66 testing::Matcher<T> Matcher;
75 operator testing::Matcher<const ExpectedHolder<T> &>() const {
129 Optional<testing::Matcher<InfoT &>> Matcher;
133 : public testing::MatcherInterface<const ErrorHolder &> {
136 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-13.1/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-generated-internal-utils.h47 namespace testing {
73 struct MatcherTuple< ::testing::tuple<> > {
74 typedef ::testing::tuple< > type;
78 struct MatcherTuple< ::testing::tuple<A1> > {
79 typedef ::testing::tuple<Matcher<A1> > type;
83 struct MatcherTuple< ::testing::tuple<A1, A2> > {
88 struct MatcherTuple< ::testing::tuple<A1, A2, A3> > {
167 typedef ::testing::tuple<> ArgumentTuple;
177 typedef ::testing::tuple<A1> ArgumentTuple;
187 typedef ::testing::tuple<A1, A2> ArgumentTuple;
[all …]
/freebsd-13.1/contrib/googletest/googletest/samples/
H A Dsample10_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;
H A Dsample9_unittest.cc38 using ::testing::EmptyTestEventListener;
39 using ::testing::InitGoogleTest;
40 using ::testing::Test;
41 using ::testing::TestCase;
42 using ::testing::TestEventListeners;
43 using ::testing::TestInfo;
44 using ::testing::TestPartResult;
45 using ::testing::UnitTest;

12345678910>>...20