Searched refs:PolymorphicMatcher (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h554 // The PolymorphicMatcher class template makes it easy to implement a
567 class PolymorphicMatcher { class in namespace:testing
569 explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {} function in class:testing::PolymorphicMatcher
610 GTEST_DISALLOW_ASSIGN_(PolymorphicMatcher);
626 // easier to use than the PolymorphicMatcher<Impl> constructor as it
631 // PolymorphicMatcher<TypeOfFoo>(foo);
633 inline PolymorphicMatcher<Impl> MakePolymorphicMatcher(const Impl& impl) {
634 return PolymorphicMatcher<Impl>(impl);
4378 inline PolymorphicMatcher<internal::IsNullMatcher > IsNull() {
4385 inline PolymorphicMatcher<interna
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h145 PolymorphicMatcher(std::vector<DynTypedMatcher> Matchers);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp223 VariantMatcher::PolymorphicMatcher(std::vector<DynTypedMatcher> Matchers) { function in class:clang::ast_matchers::dynamic::VariantMatcher
H A DMarshallers.h405 VariantMatcher Out = VariantMatcher::PolymorphicMatcher(std::move(Matchers));
/freebsd-13-stable/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc121 using testing::PolymorphicMatcher;
539 // PolymorphicMatcher<T> where T is the argument's type.
540 PolymorphicMatcher<ReferencesBarOrIsZeroImpl> ReferencesBarOrIsZero() {
583 PolymorphicMatcher<PolymorphicIsEvenImpl> PolymorphicIsEven() {
4687 PolymorphicMatcher<DivisibleByImpl> DivisibleBy(int n) {
6241 // Tests PolymorphicMatcher::mutable_impl().
6243 PolymorphicMatcher<DivisibleByImpl> m(DivisibleByImpl(42));
6251 // Tests PolymorphicMatcher::impl().
6253 const PolymorphicMatcher<DivisibleByImpl> m(DivisibleByImpl(42));
6392 PolymorphicMatcher<IsHalfOfMatche
[all...]

Completed in 197 milliseconds