Lines Matching full:matchers
34 // This file tests some commonly used argument matchers.
36 #include "gmock/gmock-matchers.h"
37 #include "gmock/gmock-more-matchers.h"
335 // Tests that matchers are copyable.
536 // For testing casting matchers
548 // For testing casting matchers between compatible types.
1017 // gmock-matchers.h: ambiguous access to overloaded function
1018 // gmock-matchers.h: 'testing::Matcher<void *>::Matcher(void *)'
1019 // gmock-matchers.h: 'testing::Matcher<void *>::Matcher(const testing::
1021 // gmock-matchers.h: (point of instantiation: 'testing::
1023 // gmock-matchers.h: (instantiating: 'testing::PolymorphicMatc
1169 // Tests string comparison matchers.
2035 // Tests that monomorphic matchers are safely cast by the Not matcher.
2045 // Helper to allow easy testing of AllOf matchers with num parameters.
2056 // the given matchers.
2083 // The following tests for varying number of sub-matchers. Due to the way
2084 // the sub-matchers are handled it is enough to test every sub-matcher once
2085 // with sub-matchers using the same matcher type. Varying matcher types are
2185 // Tests that monomorphic matchers are safely cast by the AllOf matcher.
2187 // greater_than_5 and less_than_10 are monomorphic matchers.
2203 // Successful match. Both matchers need to explain. The second
2209 // Successful match. Both matchers need to explain.
2214 // Successful match. All matchers need to explain. The second
2220 // Successful match. All matchers need to explain.
2243 // Helper to allow easy testing of AnyOf matchers with num parameters.
2254 // least one of the given matchers.
2281 // The following tests for varying number of sub-matchers. Due to the way
2282 // the sub-matchers are handled it is enough to test every sub-matcher once
2283 // with sub-matchers using the same matcher type. Varying matcher types are
2370 // Tests that monomorphic matchers are safely cast by the AnyOf matcher.
2372 // greater_than_5 and less_than_10 are monomorphic matchers.
2388 // Failed match. Both matchers need to explain. The second
2394 // Failed match. Both matchers need to explain.
2399 // Failed match. All matchers need to explain. The second
2405 // Failed match. All matchers need to explain.
2703 // Tests floating-point matchers.
2815 // Tests floating-point matchers with fixed epsilons.
3971 // For testing using ExplainMatchResultTo() with polymorphic matchers.
4019 // Tests that when AllOf() succeeds, all matchers are asked to explain
4037 // ctor can be used as arguments to matchers like Eq(), Ge(), and etc
4910 Eq("where the following matchers don't match any elements:\n"
4923 Eq("where the following elements don't match any matchers:\n"
4937 " the following matchers don't match any elements:\n"
4941 " the following elements don't match any matchers:\n"
4953 // A situation where all elements and matchers have a match
4965 "where no permutation of the elements can satisfy all matchers, "
4966 "and the closest match is 2 of 3 matchers with the "
5628 EXPECT_EQ("where the following elements don't match any matchers:\n"