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

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h417 // The PolymorphicMatcher class template makes it easy to implement a
430 class PolymorphicMatcher { class in namespace:testing
432 explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {} function in class:testing::PolymorphicMatcher
473 GTEST_DISALLOW_ASSIGN_(PolymorphicMatcher);
489 // easier to use than the PolymorphicMatcher<Impl> constructor as it
494 // PolymorphicMatcher<TypeOfFoo>(foo);
496 inline PolymorphicMatcher<Impl> MakePolymorphicMatcher(const Impl& impl) {
497 return PolymorphicMatcher<Impl>(impl);
3795 inline PolymorphicMatcher<internal::IsNullMatcher > IsNull() {
3802 inline PolymorphicMatcher<interna
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc122 using testing::PolymorphicMatcher;
457 // PolymorphicMatcher<T> where T is the argument's type.
458 PolymorphicMatcher<ReferencesBarOrIsZeroImpl> ReferencesBarOrIsZero() {
501 PolymorphicMatcher<PolymorphicIsEvenImpl> PolymorphicIsEven() {
3990 PolymorphicMatcher<DivisibleByImpl> DivisibleBy(int n) {
5282 // Tests PolymorphicMatcher::mutable_impl().
5284 PolymorphicMatcher<DivisibleByImpl> m(DivisibleByImpl(42));
5292 // Tests PolymorphicMatcher::impl().
5294 const PolymorphicMatcher<DivisibleByImpl> m(DivisibleByImpl(42));
5433 PolymorphicMatcher<IsHalfOfMatche
[all...]

Completed in 43 milliseconds