Searched refs:Matches (Results 1 - 6 of 6) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc110 using testing::Matches;
301 EXPECT_TRUE(m.Matches(2));
302 EXPECT_FALSE(m.Matches(3));
316 EXPECT_TRUE(m.Matches(4));
317 EXPECT_FALSE(m.Matches(5));
323 EXPECT_TRUE(m1.Matches(5));
324 EXPECT_FALSE(m1.Matches(6));
330 EXPECT_TRUE(m1.Matches(NULL));
332 EXPECT_FALSE(m1.Matches(&n));
339 EXPECT_TRUE(m1.Matches(fals
[all...]
H A Dgmock-generated-matchers_test.cc171 EXPECT_TRUE(m.Matches(Tuple3('a', 1, 2)));
172 EXPECT_FALSE(m.Matches(Tuple3('b', 2, 2)));
178 EXPECT_TRUE(m.Matches(Tuple3('a', 'b', 2)));
179 EXPECT_FALSE(m.Matches(Tuple3('b', 'b', 2)));
436 EXPECT_FALSE(m.Matches(test_vector));
444 EXPECT_FALSE(m.Matches(test_vector));
455 EXPECT_FALSE(m.Matches(test_vector));
730 EXPECT_TRUE(m.Matches(6));
731 EXPECT_FALSE(m.Matches(7));
808 EXPECT_TRUE(m1.Matches(""));
[all...]
H A Dgmock_link_test.h608 EXPECT_TRUE(m.Matches(helper));
611 EXPECT_TRUE(m2.Matches(&helper));
619 EXPECT_TRUE(m.Matches(helper));
622 EXPECT_TRUE(m2.Matches(&helper));
628 EXPECT_TRUE(m.Matches(NULL));
636 EXPECT_TRUE(m.Matches(&n));
642 EXPECT_TRUE(m.Matches(NULL));
648 EXPECT_TRUE(m.Matches(1));
654 EXPECT_TRUE(m.Matches(1));
660 EXPECT_FALSE(m.Matches(
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h329 bool Matches(const ArgumentTuple& args) const {
330 return TupleMatches(matchers_, args) && extra_matcher_.Matches(args);
1085 bool Matches(const ArgumentTuple& args) const
1088 return TupleMatches(matchers_, args) && extra_matcher_.Matches(args);
1101 return !is_retired() && AllPrerequisitesAreSatisfied() && Matches(args);
1115 } else if (!Matches(args)) {
1484 if (spec->Matches(args))
H A Dgmock-matchers.h261 bool Matches(T x) const { function in class:testing::internal::MatcherBase
695 // Matches the value against the given matcher, prints the value and explains
706 return matcher.Matches(value);
728 // TuplePrefix<N>::Matches(matcher_tuple, value_tuple) returns true
732 static bool Matches(const MatcherTuple& matcher_tuple, function in class:testing::internal::TuplePrefix
734 return TuplePrefix<N - 1>::Matches(matcher_tuple, value_tuple)
735 && get<N - 1>(matcher_tuple).Matches(get<N - 1>(value_tuple));
779 static bool Matches(const MatcherTuple& /* matcher_tuple */, function in class:testing::internal::TuplePrefix
804 Matches(matcher_tuple, value_tuple);
1145 // Matches anythin
4341 inline internal::MatcherAsPredicate<M> Matches(M matcher) { function in namespace:testing
[all...]
H A Dgmock-generated-matchers.h227 return inner_matcher_.Matches(selected_args);

Completed in 47 milliseconds