summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/gtest-param-test.h
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportAbseil Team2019-10-111-3/+4
| | | | | | | | - Fix a bug in dealing with paramaterized tests where the name is it self a macro expansion. - Add a compile time check to ensure that the parameters to TEST_P and INSTANTIATE_TEST_SUITE_P are not empty. The above fix causes some compilers to fail in that case and even where it works, it's likely to result in technically invalid code by virtue of creating reserved identifiers: https://en.cppreference.com/w/cpp/language/identifiers PiperOrigin-RevId: 274047249
* Googletest exportAbseil Team2019-10-101-5/+15
| | | | | | | Add a compile time check to ensure that the parameters to TEST_P and INSTANTIATE_TEST_SUITE_P are not empty. Some compilers already fail in that case and, even where it works, it's likely to result in technically invalid code by virtue of creating reserved identifiers: https://en.cppreference.com/w/cpp/language/identifiers PiperOrigin-RevId: 273832263
* Add many missing override keywordsrefs/pull/2475/headPeter Barker2019-09-251-1/+1
| | | | This helps corrects builds with -Werror=suggest-overrides
* remove a custom implementation of std::iterator_traitsKrystian Kuzniarek2019-08-131-3/+3
|
* Googletest exportAbseil Team2019-04-031-1/+1
| | | | | Typos: "more then" -> "more than". PiperOrigin-RevId: 241483698
* Googletest exportAbseil Team2019-02-251-107/+3
| | | | | | Replace more pump'd code with variadic templates. PiperOrigin-RevId: 235584585
* Googletest exportmisterg2019-02-041-8/+24
| | | | | | | | Address -Wgnu-zero-variadic-macro-arguments Originally in OSS PR #2063 https://github.com/google/googletest/pull/2063 Fix regression in INSTANTIATE_TEST_SUITE_P macro to accept function pointers properly. PiperOrigin-RevId: 232316698
* Googletest exportmisterg2019-02-041-1/+4
| | | | | | Mark legacy _TEST_CASE_ macros as deprecated PiperOrigin-RevId: 232303251
* Merge pull request #2063 from mathbunnyru:masterAshley Hedberg2019-01-301-15/+8
|\ | | | | | | PiperOrigin-RevId: 231456275
* \ Merge pull request #2063 from mathbunnyru:masterGennadiy Civil2019-01-291-8/+15
|\ \ | |/ | | | | PiperOrigin-RevId: 231434457
| * Fix INSTANTIATE_TEST_CASE_P with zero variadic argumentsAyaz Salikhov2019-01-181-7/+7
|/
* Googletest exportmisterg2019-01-031-83/+93
| | | | | | TestCase->TestSuite refactoring PiperOrigin-RevId: 227702164
* Googletest exportAbseil Team2019-01-021-5/+2
| | | | | | | | Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
* Googletest exportmisterg2018-10-181-852/+3
| | | | | | | New variadic implementation for gtest-param-test Removed non-variadic implementation and added variadic for ValueArray and Values PiperOrigin-RevId: 217703627
* Unconditionally use std::tuple.Abseil Team2018-10-091-9/+5
| | | | | | Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
* Re-generate gtest-param-test.h from gtest-param-test.h.pumpDominic Sacré2018-08-311-20/+17
| | | | | | | | | Commit 6a26e47cfcc174cc85651cbde0b0158d03321e2f changed the formatting of INSTANTIATE_TEST_CASE_P() in the generated header file only. This commit reverts to the formatting produced by running "pump gtest-param-test.h.pump", which seems to be more consistent with the rest of the file.
* Comments changes, no functionality changesrefs/pull/1740/headGennadiy Civil2018-08-141-2/+0
|
* Formatting changes for automatic code managementGennadiy Civil2018-07-271-0/+1
|
* Formatting changes refs/pull/1607/headGennadiy Civil2018-05-231-1/+1
|
* Allow macros inside of parametrized test names.Bernhard Bauer2018-03-121-4/+2
| | | | | | | | | | This allows doing things like TEST_P(TestFixture, MAYBE(TestName)) for nicer conditional test disabling. Upstream of cr/188748737. Tested: Added unit tests MacroNamingTest and MacroNamingTestNonParametrized.
* Code merge, upstreaming accumulated changes, cleanupGennadiy Civil2018-01-101-19/+22
|
* Pass the -Wmissing-declarations warning.David Benjamin2018-01-031-6/+6
| | | | | | This makes it easier to use GTest in projects that build with the -Wmissing-declarations warning. This fixes the warning in headers and source files, though not GTest's own tests as it is rather noisy there.
* remove GTEST_HAS_PARAM_TESTSHerbert Thielen2017-09-041-7/+0
| | | | | | | | As mentioned in issue #360: "Now that all the platforms gtest supports work with value-parameterized tests, we should remove the uses of the GTEST_HAS_PARAM_TESTS macro from the codebase everywhere." https://github.com/google/googletest/issues/360
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-0/+1444