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

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-matchers.h386 // A set of metafunctions for computing the result type of AnyOf.
387 // AnyOf(m1, ..., mN) returns
390 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined
1080 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given
1081 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing.
1085 AnyOf(M1 m1, M2 m2) { function in namespace:testing
1093 AnyOf(M1 m1, M2 m2, M3 m3) { function in namespace:testing
1096 ::testing::AnyOf(m2, m3));
1101 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { function in namespace:testing
1103 ::testing::AnyOf(m
1109 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { function in namespace:testing
1118 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { function in namespace:testing
1127 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7) { function in namespace:testing
1136 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8) { function in namespace:testing
1145 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9) { function in namespace:testing
1156 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) { function in namespace:testing
[all...]
H A Dgmock-matchers.h1604 // AllOf(m_1, m_2, ...) and AnyOf(m_1, m_2, ...).
1659 // Implements the AnyOf(m1, m2) matcher for a particular argument type
1723 // AnyOfMatcher is used for the variadic implementation of AnyOf(m_1, m_2, ...).
1729 // Used for implementing the AnyOf(m_1, ..., m_n) matcher, which
4368 inline internal::AnyOfMatcher<Args...> AnyOf(const Args&... matchers) { function in namespace:testing
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc85 using testing::AnyOf;
2243 // Helper to allow easy testing of AnyOf matchers with num parameters.
2253 // Tests that AnyOf(m1, ..., mn) matches any value that matches at
2257 m = AnyOf(Le(1), Ge(3));
2262 m = AnyOf(Lt(0), Eq(1), Eq(2));
2268 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3));
2275 m = AnyOf(Le(0), Gt(10), 3, 5, 7);
2285 AnyOfMatches(2, AnyOf(1, 2));
2286 AnyOfMatches(3, AnyOf(1, 2, 3));
2287 AnyOfMatches(4, AnyOf(
[all...]
H A Dgmock_link_test.h96 // AnyOf
131 using testing::AnyOf;
651 // Tests the linkage of the AnyOf matcher.
653 Matcher<int> m = AnyOf(_, Eq(1));
H A Dgmock-generated-matchers_test.cc1247 // Verify that using AnyOf with many arguments doesn't cause
1249 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _,
1250 testing::AnyOf(_, _, _, _, _, _, _, _, _, _)));
1255 // Verifies that the implementation of ::testing::AllOf and ::testing::AnyOf
1257 // name lookup will cause AllOf/AnyOf in the 'adl_test' namespace to be found
1260 // The matcher must be in the same namespace as AllOf/AnyOf to make argument
1273 AnyOf(const T1& t1, const T2& t2) { return true; } function in namespace:__anon17::adl_test
1276 EXPECT_THAT(42, testing::AnyOf(

Completed in 55 milliseconds