summaryrefslogtreecommitdiffstats
path: root/docs/reference/matchers.md
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-08-03 16:19:54 (GMT)
committerAndy Soffer <asoffer@google.com>2021-08-04 17:54:39 (GMT)
commit652ec31f9f53ab34af1257e5e2783d77e872ed45 (patch)
tree5e2b03cd82d06d80cfe1637642e133bac3abecbf /docs/reference/matchers.md
parentc22ce88775eaa364d085de7741a3625f3f0d5055 (diff)
downloadgoogletest-652ec31f9f53ab34af1257e5e2783d77e872ed45.zip
googletest-652ec31f9f53ab34af1257e5e2783d77e872ed45.tar.gz
googletest-652ec31f9f53ab34af1257e5e2783d77e872ed45.tar.bz2
Googletest export
Introduce a new matcher for unescaping Base-64 strings to gmock. PiperOrigin-RevId: 388471904
Diffstat (limited to 'docs/reference/matchers.md')
-rw-r--r--docs/reference/matchers.md21
1 files changed, 11 insertions, 10 deletions
diff --git a/docs/reference/matchers.md b/docs/reference/matchers.md
index 850f9fa..a541bf8 100644
--- a/docs/reference/matchers.md
+++ b/docs/reference/matchers.md
@@ -88,16 +88,17 @@ The `argument` can be either a C string or a C++ string object:
| Matcher | Description |
| :---------------------- | :------------------------------------------------- |
-| `ContainsRegex(string)` | `argument` matches the given regular expression. |
-| `EndsWith(suffix)` | `argument` ends with string `suffix`. |
-| `HasSubstr(string)` | `argument` contains `string` as a sub-string. |
-| `IsEmpty()` | `argument` is an empty string. |
-| `MatchesRegex(string)` | `argument` matches the given regular expression with the match starting at the first character and ending at the last character. |
-| `StartsWith(prefix)` | `argument` starts with string `prefix`. |
-| `StrCaseEq(string)` | `argument` is equal to `string`, ignoring case. |
-| `StrCaseNe(string)` | `argument` is not equal to `string`, ignoring case. |
-| `StrEq(string)` | `argument` is equal to `string`. |
-| `StrNe(string)` | `argument` is not equal to `string`. |
+| `ContainsRegex(string)` | `argument` matches the given regular expression. |
+| `EndsWith(suffix)` | `argument` ends with string `suffix`. |
+| `HasSubstr(string)` | `argument` contains `string` as a sub-string. |
+| `IsEmpty()` | `argument` is an empty string. |
+| `MatchesRegex(string)` | `argument` matches the given regular expression with the match starting at the first character and ending at the last character. |
+| `StartsWith(prefix)` | `argument` starts with string `prefix`. |
+| `StrCaseEq(string)` | `argument` is equal to `string`, ignoring case. |
+| `StrCaseNe(string)` | `argument` is not equal to `string`, ignoring case. |
+| `StrEq(string)` | `argument` is equal to `string`. |
+| `StrNe(string)` | `argument` is not equal to `string`. |
+| `WhenBase64Unescaped(m)` | `argument` is a base-64 escaped string whose unescaped string matches `m`. |
`ContainsRegex()` and `MatchesRegex()` take ownership of the `RE` object. They
use the regular expression syntax defined