diff options
author | Baruch Burstein <bmburstein@gmail.com> | 2022-07-31 19:50:04 (GMT) |
---|---|---|
committer | Baruch Burstein <bmburstein@gmail.com> | 2022-07-31 19:50:04 (GMT) |
commit | 3280a930bf3f2fdb77da9a6cdf5866ef22708ff1 (patch) | |
tree | 592fb787261482da935fd0286d306510b67688a1 /docs | |
parent | dd7a9d29a33de34836c345c3b753d4eba15c5f44 (diff) | |
download | googletest-3280a930bf3f2fdb77da9a6cdf5866ef22708ff1.zip googletest-3280a930bf3f2fdb77da9a6cdf5866ef22708ff1.tar.gz googletest-3280a930bf3f2fdb77da9a6cdf5866ef22708ff1.tar.bz2 |
Custom type with Combine(). Fix for #3781
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/testing.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/testing.md b/docs/reference/testing.md index dc47942..877dfa3 100644 --- a/docs/reference/testing.md +++ b/docs/reference/testing.md @@ -109,6 +109,7 @@ namespace: | `ValuesIn(container)` or `ValuesIn(begin,end)` | Yields values from a C-style array, an STL-style container, or an iterator range `[begin, end)`. | | `Bool()` | Yields sequence `{false, true}`. | | `Combine(g1, g2, ..., gN)` | Yields as `std::tuple` *n*-tuples all combinations (Cartesian product) of the values generated by the given *n* generators `g1`, `g2`, ..., `gN`. | +| `ConvertGenerator<T>(g)` | Yields values generated by generator `g`, `static_cast` to `T`. | The optional last argument *`name_generator`* is a function or functor that generates custom test name suffixes based on the test parameters. The function |