Searched refs:matchers (Results 1 - 4 of 4) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc292 tuple<> matchers; local
295 EXPECT_TRUE(TupleMatches(matchers, values));
299 tuple<Matcher<int> > matchers(Eq(1));
303 EXPECT_TRUE(TupleMatches(matchers, values1));
304 EXPECT_FALSE(TupleMatches(matchers, values2));
308 tuple<Matcher<int>, Matcher<char> > matchers(Eq(1), Eq('a'));
314 EXPECT_TRUE(TupleMatches(matchers, values1));
315 EXPECT_FALSE(TupleMatches(matchers, values2));
316 EXPECT_FALSE(TupleMatches(matchers, values3));
317 EXPECT_FALSE(TupleMatches(matchers, values
[all...]
/gem5/ext/googletest/googlemock/
H A DMakefile.am33 include/gmock/gmock-generated-matchers.h \
35 include/gmock/gmock-matchers.h \
37 include/gmock/gmock-more-matchers.h \
47 include/gmock/internal/custom/gmock-matchers.h \
97 src/gmock-matchers.cc \
140 include/gmock/gmock-generated-matchers.h.pump \
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h34 // This file implements some commonly used argument matchers. More
35 // matchers can be defined by the user implementing the
69 // is impossible if we pass matchers by pointers. It also eases
624 // This overload handles polymorphic matchers and values only since
625 // monomorphic matchers are handled by the next one.
631 // This overload handles monomorphic matchers.
698 // Value cannot be passed by const reference, because some matchers take a
738 // TuplePrefix<N>::ExplainMatchFailuresTo(matchers, values, os)
739 // describes failures in matching the first N fields of matchers
743 static void ExplainMatchFailuresTo(const MatcherTuple& matchers, argument
810 ExplainMatchFailureTupleTo(const MatcherTuple& matchers, const ValueTuple& values, ::std::ostream* os) argument
1576 CreateMatcher(const ListType& matchers) argument
1596 CreateMatcher(const ListType& matchers) argument
1610 VariadicMatcher(const Args&.... matchers) argument
3462 MatcherVec matchers; local
3487 MatcherVec matchers; local
4239 ::std::vector<internal::BoundSecondMatcher<Tuple2Matcher, Second> > matchers; local
4363 AllOf(const Args&.... matchers) argument
4368 AnyOf(const Args&.... matchers) argument
[all...]
H A Dgmock-spec-builders.h39 // ON_CALL(mock_object, Method(argument-matchers))
48 // EXPECT_CALL(mock_object, Method(argument-matchers))
49 // .With(multi-argument-matchers)
75 #include "gmock/gmock-matchers.h"
293 const ArgumentMatcherTuple& matchers)
295 matchers_(matchers),
328 // Returns true iff the given arguments match the matchers.
344 // ON_CALL(mock_object, Method(matchers))
352 // matchers => matchers_
1046 // Returns the matchers fo
292 OnCallSpec(const char* a_file, int a_line, const ArgumentMatcherTuple& matchers) argument
[all...]

Completed in 21 milliseconds