(Please read the [previous](#AssertThat) section first if you haven't.)
(Please read the [previous](#asserting-using-gmock-matchers) section first if
you haven't.)
You can use the gMock
You can use the gMock
[string matchers](../../googlemock/docs/cheat_sheet.md#string-matchers) with
[string matchers](../../googlemock/docs/cheat_sheet.md#string-matchers) with
...
@@ -1407,7 +1408,10 @@ Please note that `INSTANTIATE_TEST_SUITE_P` will instantiate *all* tests in the
...
@@ -1407,7 +1408,10 @@ Please note that `INSTANTIATE_TEST_SUITE_P` will instantiate *all* tests in the
given test suite, whether their definitions come before or *after* the
given test suite, whether their definitions come before or *after* the
`INSTANTIATE_TEST_SUITE_P` statement.
`INSTANTIATE_TEST_SUITE_P` statement.
You can see sample7_unittest.cc and sample8_unittest.cc for more examples.
You can see [sample7_unittest.cc] and [sample8_unittest.cc] for more examples.
[sample7_unittest.cc]:../samples/sample7_unittest.cc"Parameterized Test example"
[sample8_unittest.cc]:../samples/sample8_unittest.cc"Parameterized Test example with multiple parameters"
### Creating Value-Parameterized Abstract Tests
### Creating Value-Parameterized Abstract Tests
...
@@ -1446,7 +1450,7 @@ returns the value of `testing::PrintToString(GetParam())`. It does not work for
...
@@ -1446,7 +1450,7 @@ returns the value of `testing::PrintToString(GetParam())`. It does not work for
NOTE: test names must be non-empty, unique, and may only contain ASCII
NOTE: test names must be non-empty, unique, and may only contain ASCII
alphanumeric characters. In particular, they
alphanumeric characters. In particular, they
[should not contain underscores](https://github.com/google/googletest/blob/master/googletest/docs/faq.md#why-should-test-suite-names-and-test-names-not-contain-underscore)
[should not contain underscores](faq.md#why-should-test-suite-names-and-test-names-not-contain-underscore)
Exercise a particular program path with specific input values and verify the results | [TEST()](#simple-tests) | [Test Case](http://glossary.istqb.org/search/test%20case)