summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/gtest-typed-test.h
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportAbseil Team2020-01-021-1/+1
| | | | | | | | Add option (default to disabled) to make C++ type parameterized tests (TYPED_TEST_P) fail when they're not instantiated. When an un-instantiated TYPED_TEST_P is found, a new test will be inserted that emits a suitable message. For now, that is just a notice, but the hope it to flip the bit to make it fail by default. PiperOrigin-RevId: 286408038
* Googletest exportAbseil Team2019-11-081-4/+13
| | | | | | | | Correctly deal with stringification, and forbid empty arguments where they could slip thought, in the type parameterized test API. Note: even where empty args work, 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: 279330971
* replace autogenerated TemplatesX classes by variadic onesKrystian Kuzniarek2019-10-251-7/+7
|
* replace autogenerated TypesX classes by variadic onesKrystian Kuzniarek2019-10-251-10/+8
|
* Add more override keywordsRobert Luberda2019-10-111-2/+2
| | | | | | | | | | | | | | Mark more functions with "override" keyword, just like it was done in commit 2460f97152c. This should prevent compiler from complaining while compiling both user code, and the googletest code itself with the -Wsuggest-override option turned on; with the exception of: * calls to new MOCK_METHOD() in test/gmock-function-mocker_test.cc * calls to old MOCK_METHODx()/MOCK_CONST_METHODx() in other unit test files. Closes #2493
* remove an outdated commentKrystian Kuzniarek2019-08-111-6/+0
|
* adjust a comment to the similar section in advanced.mdKrystian Kuzniarek2019-07-311-3/+3
| | | | in addition, fix typo of use -> us
* Googletest exportmisterg2019-02-041-4/+14
| | | | | | Mark legacy _TEST_CASE_ macros as deprecated PiperOrigin-RevId: 232303251
* Googletest exportmisterg2019-01-031-76/+96
| | | | | | TestCase->TestSuite refactoring PiperOrigin-RevId: 227702164
* Merge branch 'master' into fix-clang-warningsGennadiy Civil2018-08-311-1/+1
|\
| * Googletest exportAbseil Team2018-08-301-1/+1
| | | | | | | | | | | | | | | | Fix the typed test names in the tests for customized typed test parameters. As required by googletest documentation, the names should not contain an underscore. PiperOrigin-RevId: 210678652
* | Make dummy variables static to avoid compiler warningsDominic Sacré2018-08-311-2/+3
|/ | | | Fix -Wmissing-variable-declarations warnings from Clang.
* Googletest exportAbseil Team2018-08-281-32/+72
| | | | | | | | Add the possibility of specifying the name in type parameterized tests. Similar to how the last parameter of INSTANTIATE_TEST_CASE_P allows to override the name for (non-type) parametrized tests, this adds the possibility of adding a parameter to INSTANTIATE_TYPED_TEST_CASE_P. The argument has to be a class, which contains a static templated function GetName<T>(int), returning the name for type T. PiperOrigin-RevId: 210532231
* Comments changes, no functionality changesGennadiy Civil2018-08-141-2/+1
|
* Formatting changes for automatic code managementGennadiy Civil2018-07-271-0/+2
|
* Code merge, upstreaming accumulated changes, cleanupGennadiy Civil2018-01-101-1/+1
|
* fix typo /GTEST_ATTRIBUTE_UNUSED/GTEST_ATTRIBUTE_UNUSED_/srz_zumix2017-02-031-1/+1
|
* Add GTEST_ATTRIBUTE_UNUSED_ to REGISTER_TYPED_TEST_CASE_PMike Bjorge2017-01-091-3/+4
| | | | | | If REGISTER_TYPED_TEST_CASE_P is included in a header file, but the .cc file does not declare INSTANTIATE_TYPED_TEST_CASE_P, an unused-variable warning may be raised by the compiler.
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-0/+263
OpenPOWER on IntegriCloud