Searched defs:testing (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-head/contrib/googletest/googlemock/include/gmock/
H A Dgmock.h70 namespace testing { namespace
94 } // namespace testing
H A Dgmock-more-matchers.h45 namespace testing { namespace
90 } // namespace testing
H A Dgmock-cardinalities.h50 namespace testing { namespace
149 } // namespace testing
H A Dgmock-generated-nice-strict.h73 namespace testing { namespace
79 ::testing::Mock::AllowUninterestingCalls(
93 ::testing::Mock::AllowUninterestingCalls(
101 ::testing::Mock::AllowUninterestingCalls(
109 ::testing::Mock::AllowUninterestingCalls(
114 ::testing::Mock::AllowUninterestingCalls(
120 ::testing::Mock::AllowUninterestingCalls(
127 ::testing::Mock::AllowUninterestingCalls(
134 ::testing::Mock::AllowUninterestingCalls(
142 ::testing
[all...]
H A Dgmock-more-actions.h44 namespace testing { namespace
165 return ::testing::get<k>(args);
173 *pointer = ::testing::get<k>(args);
181 *pointer = *::testing::get<k>(args);
189 typedef typename ::testing::tuple_element<k, args_type>::type argk_type;
195 ::testing::get<k>(args) = value;
208 internal::CopyElements(first, last, ::testing::get<k>(args));
210 ::std::copy(first, last, ::testing::get<k>(args));
219 delete ::testing::get<k>(args);
245 } // namespace testing
[all...]
H A Dgmock-spec-builders.h83 namespace testing { namespace
104 // Helper class for testing the Expectation class template.
527 friend class ::testing::internal::ExpectationBase;
528 friend class ::testing::internal::UntypedFunctionMockerBase;
531 friend class ::testing::internal::FunctionMockerBase;
534 friend class ::testing::internal::TypedExpectation;
728 friend class ::testing::Expectation;
846 friend class ::testing::Sequence;
847 friend class ::testing::internal::ExpectationTester;
1245 // Note: class MockSpec really belongs to the ::testing namespac
[all...]
/freebsd-head/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-string.h54 namespace testing { namespace
165 } // namespace testing
H A Dgtest-filepath.h48 namespace testing { namespace
207 } // namespace testing
/freebsd-head/contrib/googletest/googletest/test/
H A Dgoogletest-env-var-test_.cc31 // A helper program for testing that Google Test parses the environment
41 namespace testing { namespace
110 } // namespace testing
113 testing::InitGoogleTest(&argc, argv);
120 testing::PrintFlag(argv[1]);
H A Dgoogletest-options-test.cc49 namespace testing { namespace
211 } // namespace testing
H A Dgoogletest-filepath-test.cc48 namespace testing { namespace
651 } // namespace testing
H A Dgtest_environment_test.cc38 namespace testing { namespace
48 // For testing using global test environments.
49 class MyEnvironment : public testing::Environment {
115 testing::internal::posix::Abort();
127 testing::internal::GetUnitTestImpl()->ClearAdHocTestResult();
134 testing::InitGoogleTest(&argc, argv);
139 Check(testing::AddGlobalTestEnvironment(env) == env,
177 testing::GTEST_FLAG(filter) = "-*";
H A Dgtest_repeat_test.cc38 namespace testing { namespace
44 } // namespace testing
46 using testing::GTEST_FLAG(death_test_style);
47 using testing::GTEST_FLAG(filter);
48 using testing::GTEST_FLAG(repeat);
52 // We need this when we are testing Google Test itself and therefore
58 if (::testing::internal::IsTrue(expected_val != actual_val)) {\
63 ::testing::internal::posix::Abort();\
65 } while (::testing::internal::AlwaysFalse())
74 class MyEnvironment : public testing
[all...]
H A Dgtest_stress_test.cc42 namespace testing { namespace
104 // is for testing whether Google Test can handle failed assertions in a
228 } // namespace testing
231 testing::InitGoogleTest(&argc, argv);
246 testing::InitGoogleTest(&argc, argv);
/freebsd-head/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h43 namespace testing { namespace
92 // ASSERT_EXIT(server.ExitNow(), ::testing::ExitedWithCode(0), "Exiting");
181 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
186 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
216 // The death testing framework causes this to have interesting semantics,
314 if (::testing::internal::AlwaysTrue()) { \
318 } else if (::testing::internal::AlwaysFalse()) { \
319 ::testing::internal::RE::PartialMatch(".*", (regex)); \
323 ::testing::Message()
342 } // namespace testing
[all...]
H A Dgtest-message.h59 void operator<<(const testing::internal::Secret&, int);
61 namespace testing { namespace
75 // testing::Message foo;
125 // namespace, but not other namespaces, including the testing
130 // assertions, testing::Message must access the custom << operator
251 } // namespace testing
H A Dgtest-spi.h31 // Utilities for testing Google Test itself and code that uses Google Test
44 namespace testing { namespace
116 } // namespace testing
120 // A set of macros for testing Google Test assertions or code that's expected
149 ::testing::TestPartResultArray gtest_failures;\
150 ::testing::internal::SingleFailureChecker gtest_checker(\
151 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
153 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
154 ::testing::ScopedFakeTestPartResultReporter:: \
158 } while (::testing
[all...]
/freebsd-head/contrib/googletest/googletest/src/
H A Dgtest-test-part.cc36 namespace testing { namespace
105 } // namespace testing
H A Dgtest-typed-test.cc35 namespace testing { namespace
118 } // namespace testing
/freebsd-head/contrib/googletest/googlemock/src/
H A Dgmock.cc34 namespace testing { namespace
204 } // namespace testing
H A Dgmock-cardinalities.cc44 namespace testing { namespace
155 } // namespace testing
H A Dgmock-internal-utils.cc46 namespace testing { namespace
93 // use Google Mock with a testing framework other than Google Test.
184 << ::testing::internal::GetCurrentOsStackTraceExceptTop(
185 ::testing::UnitTest::GetInstance(), actual_to_skip);
203 } // namespace testing
/freebsd-head/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-generated-internal-utils.h47 namespace testing { namespace
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> > {
84 typedef ::testing::tuple<Matcher<A1>, Matcher<A2> > type;
88 struct MatcherTuple< ::testing::tuple<A1, A2, A3> > {
89 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type;
93 struct MatcherTuple< ::testing
[all...]
/freebsd-head/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)
39 testing::MatchResultListener *listener) const override {
66 testing::Matcher<T> Matcher;
75 operator testing::Matcher<const ExpectedHolder<T> &>() const {
77 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher)));
85 class ErrorMatchesMono : public testing::MatcherInterface<const ErrorHolder &> {
87 explicit ErrorMatchesMono(Optional<testing::Matcher<InfoT &>> Matcher)
91 testing::MatchResultListener *listener) const override {
129 Optional<testing
[all...]
/freebsd-head/contrib/googletest/googlemock/test/
H A Dgmock-generated-function-mockers_test.cc56 namespace testing { namespace
59 using testing::_;
60 using testing::A;
61 using testing::An;
62 using testing::AnyNumber;
63 using testing::Const;
64 using testing::DoDefault;
65 using testing::Eq;
66 using testing::Lt;
67 using testing
[all...]

Completed in 442 milliseconds

123