mirror of
https://github.com/google/googletest.git
synced 2024-12-27 02:01:25 +08:00
Merge pull request #4662 from asoffer:patch-1
PiperOrigin-RevId: 698420375 Change-Id: I786e5b50d171c697c21579659a67716442f224df
This commit is contained in:
commit
35d0c36560
@ -67,10 +67,10 @@ namespace testing {
|
|||||||
// To implement a matcher Foo for type T, define:
|
// To implement a matcher Foo for type T, define:
|
||||||
// 1. a class FooMatcherMatcher that implements the matcher interface:
|
// 1. a class FooMatcherMatcher that implements the matcher interface:
|
||||||
// using is_gtest_matcher = void;
|
// using is_gtest_matcher = void;
|
||||||
// bool MatchAndExplain(const T&, std::ostream*);
|
// bool MatchAndExplain(const T&, std::ostream*) const;
|
||||||
// (MatchResultListener* can also be used instead of std::ostream*)
|
// (MatchResultListener* can also be used instead of std::ostream*)
|
||||||
// void DescribeTo(std::ostream*);
|
// void DescribeTo(std::ostream*) const;
|
||||||
// void DescribeNegationTo(std::ostream*);
|
// void DescribeNegationTo(std::ostream*) const;
|
||||||
//
|
//
|
||||||
// 2. a factory function that creates a Matcher<T> object from a
|
// 2. a factory function that creates a Matcher<T> object from a
|
||||||
// FooMatcherMatcher.
|
// FooMatcherMatcher.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user