Home
last modified time | relevance | path

Searched refs:MatchResultListener (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-matchers.h78 class MatchResultListener {
83 explicit MatchResultListener(::std::ostream* os) : stream_(os) {} in MatchResultListener() function
84 virtual ~MatchResultListener() = 0; // Makes this class abstract.
89 MatchResultListener& operator<<(const T& x) {
106 MatchResultListener(const MatchResultListener&) = delete;
107 MatchResultListener& operator=(const MatchResultListener&) = delete;
110 inline MatchResultListener::~MatchResultListener() = default;
173 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
183 class DummyMatchResultListener : public MatchResultListener {
185 DummyMatchResultListener() : MatchResultListener(nullptr) {} in DummyMatchResultListener()
[all …]
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h306 class StringMatchResultListener : public MatchResultListener {
308 StringMatchResultListener() : MatchResultListener(&ss_) {} in StringMatchResultListener()
417 bool MatchAndExplain(T x, MatchResultListener* listener) const override { in MatchAndExplain()
589 MatchResultListener* listener) { in MatchPrintAndExplain()
768 MatchResultListener* /* listener */) const {
782 MatchResultListener* /* listener */) const {
838 MatchResultListener* listener) const override {
905 MatchResultListener* listener) const {
919 bool MatchAndExplain(CharType* s, MatchResultListener* listener) const {
932 MatchResultListener* /* listener */) const {
[all …]
H A Dgmock-more-matchers.h69 MatchResultListener* listener) const { in MatchAndExplain()
78 bool MatchAndExplain(const char* s, MatchResultListener* listener) const { in MatchAndExplain()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h38 testing::MatchResultListener *listener) const override { in MatchAndExplain()
90 testing::MatchResultListener *listener) const override { in MatchAndExplain()
139 testing::MatchResultListener *listener) const override { in MatchAndExplain()
H A DSupportHelpers.h79 testing::MatchResultListener *L) const override { in MatchAndExplain()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.h110 bool MatchAndExplain(T lhs, MatchResultListener* listener) const { in MatchAndExplain()
142 bool MatchAndExplain(T lhs, MatchResultListener* listener) const override { in MatchAndExplain()
H A Dgmock-matchers-comparisons_test.cc95 MatchResultListener* /* listener */) const override { in MatchAndExplain()
115 bool MatchAndExplain(int x, MatchResultListener* listener) const override { in MatchAndExplain()
303 bool MatchAndExplain(const T& x, MatchResultListener* /* listener */) const { in MatchAndExplain()
346 bool MatchAndExplain(const T& x, MatchResultListener* listener) const { in MatchAndExplain()
2297 bool MatchAndExplain(const T& n, MatchResultListener* listener) const { in TEST()
H A Dgmock-matchers-containers_test.cc2240 MatchResultListener* listener) const { in MatchAndExplain()
2516 MatchResultListener* listener) const override { in MatchAndExplain()
H A Dgmock-matchers-misc_test.cc971 MatchResultListener* listener) const override { in MatchAndExplain()
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-matchers.cc371 const MatchMatrix& matrix, MatchResultListener* listener) const { in VerifyMatchMatrix()
437 const MatchMatrix& matrix, MatchResultListener* listener) const { in FindPairing()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/ADT/
H A DStringMapEntry.h75 testing::MatchResultListener *ResultListener) const override {
/freebsd/contrib/googletest/docs/
H A Dgmock_cook_book.md3660 Tip: for convenience, `MatchAndExplain()` can take a `MatchResultListener*`
3712 class MatchResultListener {
3718 MatchResultListener& operator<<(const T& x);
3731 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
3747 using ::testing::MatchResultListener;
3762 MatchResultListener* /* listener */) const {