Lines Matching full:matchers
625 # Using Matchers #
639 ## Using Simple Matchers ##
641 You can use matchers to match arguments that have a certain property:
663 ## Combining Matchers ##
665 You can build complex matchers from existing ones using `AllOf()`,
684 ## Casting Matchers ##
686 Google Mock matchers are statically typed, meaning that the compiler
865 As a convenience and example, Google Mock provides some matchers for
873 ## Using Matchers as Predicates ##
878 it would be a shame if Google Mock matchers are not allowed to
894 Since you can build complex matchers from simpler ones easily using
904 ## Using Matchers in Google Test Assertions ##
906 Since matchers are basically predicates that also know how to describe
954 ## Using Predicates as Matchers ##
956 Google Mock provides a built-in set of matchers. In case you find them
983 matchers like `Eq(bar)`, `Le(bar)`, and so on.
1054 C++ functions often take pointers as arguments. You can use matchers
1055 like `IsNull()`, `NotNull()`, and other comparison matchers to match a
1199 // Or, an array of element matchers.
1223 ## Sharing Matchers ##
1226 a ref-counted implementation object. Copying matchers is allowed and
1354 matchers in the third `EXPECT_CALL()`, but not those in the first two,
2176 Just like matchers, a Google Mock action object consists of a pointer
2745 Is there a typo somewhere in the matchers? Did you mess up the order
2846 ## Writing New Matchers Quickly ##
2848 The `MATCHER*` family of macros can be used to define custom matchers
2943 ## Writing New Parameterized Matchers Quickly ##
2977 `MATCHER_P10` to support multi-parameter matchers:
3039 useful when composing matchers. Matchers that don't have a parameter
3051 You can overload matchers with different numbers of parameters:
3064 that pay off in the long run. They also allow overloading matchers
3068 ## Writing New Monomorphic Matchers ##
3172 ## Writing New Polymorphic Matchers ##
3174 You've learned how to write your own matchers in the previous
3180 you can learn the trick from `"gmock/gmock-matchers.h"` but it's a bit