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

/freebsd-12-stable/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc84 using testing::AnyOf;
2681 // Helper to allow easy testing of AnyOf matchers with num parameters.
2703 // Tests that AnyOf(m1, ..., mn) matches any value that matches at
2707 m = AnyOf(Le(1), Ge(3));
2712 m = AnyOf(Lt(0), Eq(1), Eq(2));
2718 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3));
2725 m = AnyOf(Le(0), Gt(10), 3, 5, 7);
2735 AnyOfMatches(2, AnyOf(1, 2));
2736 AnyOfMatches(3, AnyOf(1, 2, 3));
2737 AnyOfMatches(4, AnyOf(
[all...]
H A Dgmock-generated-matchers_test.cc70 using testing::AnyOf;
1258 // Verify that using AnyOf with many arguments doesn't cause
1260 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _,
1261 testing::AnyOf(_, _, _, _, _, _, _, _, _, _)));
1266 // Verifies that the implementation of ::testing::AllOf and ::testing::AnyOf
1268 // name lookup will cause AllOf/AnyOf in the 'adl_test' namespace to be found
1271 // The matcher must be in the same namespace as AllOf/AnyOf to make argument
1284 AnyOf(const T1& t1, const T2& t2) { return true; } function in namespace:__anon1872::adl_test
1287 EXPECT_THAT(42, testing::AnyOf(
1307 EXPECT_THAT(p, AnyOf(Pointe
[all...]
H A Dgmock_link_test.h97 // AnyOf
134 using testing::AnyOf;
672 // Tests the linkage of the AnyOf matcher.
674 Matcher<int> m = AnyOf(_, Eq(1));
/freebsd-12-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-matchers.h388 // A set of metafunctions for computing the result type of AnyOf.
389 // AnyOf(m1, ..., mN) returns
392 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined
1085 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given
1086 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing.
1090 AnyOf(M1 m1, M2 m2) { function in namespace:testing
1098 AnyOf(M1 m1, M2 m2, M3 m3) { function in namespace:testing
1101 ::testing::AnyOf(m2, m3));
1106 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { function in namespace:testing
1108 ::testing::AnyOf(m
1114 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { function in namespace:testing
1123 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { function in namespace:testing
1132 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7) { function in namespace:testing
1141 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8) { function in namespace:testing
1150 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9) { function in namespace:testing
1161 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.h1788 // AllOf(m_1, m_2, ...) and AnyOf(m_1, m_2, ...).
1858 // Implements the AnyOf(m1, m2) matcher for a particular argument type
1923 // AnyOfMatcher is used for the variadic implementation of AnyOf(m_1, m_2, ...).
1929 // Used for implementing the AnyOf(m_1, ..., m_n) matcher, which
5196 internal::AnyOfMatcher<typename std::decay<const Args&>::type...> AnyOf( function in namespace:testing

Completed in 153 milliseconds