summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Add a test for duplicate catch clauses in throw matchers, fix a couple of ↵Vladimir Goncharov2020-08-032-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | nitpicks.
| * | | | | Add missing documentation pieceVladimir Goncharov2020-08-032-1/+22
| | | | | |
| * | | | | Small improvements: code style and property nameVladimir Goncharov2020-08-032-6/+4
| | | | | |
| * | | | | Add matchers for testing exception propertiesVladimir Goncharov2020-08-032-0/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds matchers that accept a callable and verify that when invoked, it throws an exception with the given type and properties. Fixes #952
* | | | | | Googletest exportAbseil Team2020-08-233-10/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix DoAll to work with move-only sink arguments. This changes types of the first n - 1 actions so that they only get a readonly view of the arguments. The last action will accept move only objects. PiperOrigin-RevId: 327031893
* | | | | | Googletest exportkrzysio2020-08-141-0/+6
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mention matchers as an alternative to assertions in subroutines. Matchers are often the better choice - they can provide more informative error messages and circumvent all of the complexity described in this section. PiperOrigin-RevId: 326332149
* | | | | Googletest exportAbseil Team2020-08-125-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal change PiperOrigin-RevId: 326080000
* | | | | Googletest exportdmauro2020-08-121-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove references to the GoogleTest mailing list Fixes #2966 PiperOrigin-RevId: 326065972
* | | | | Googletest exportAbseil Team2020-08-124-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal change PiperOrigin-RevId: 325799949
* | | | | Merge pull request #2961 from FranciscoThiesen:patch-1Derek Mauro2020-08-071-2/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 325429245
| * | | | | Removing tiny-dnn from "Who is using.."Francisco Geiman Thiesen2020-07-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tiny-dnn project has changed the test framework (https://github.com/tiny-dnn/tiny-dnn/commit/d0d35ca2f4e75b3f647787e19ee7f31d0784b398) and removed the googletest usage. Removing it from the "Who is Using Google Test?" list so as to keep it accurate.
* | | | | | Merge pull request #2972 from srz-zumix:fix/remove_legacy_testcase_api_Derek Mauro2020-08-075-25/+37
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 325220934
| * | | | | | fix endif commentsrz_zumix2020-08-051-1/+1
| | | | | | |
| * | | | | | fix testssrz_zumix2020-08-024-12/+24
| | | | | | |
| * | | | | | fix GTEST_REMOVE_LEGACY_TEST_CASEAPI_ typosrz_zumix2020-07-291-8/+8
| | | | | | |
* | | | | | | Googletest exportAbseil Team2020-08-072-21/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing exception-safety bug in googletest. Previously, if an exception was thrown during a call to a mock that would have triggered an error, the error was discarded. Fixes #2890 PiperOrigin-RevId: 325017806
* | | | | | | Googletest exportAbseil Team2020-08-073-21/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix DoAll to work with move-only sink arguments. This changes types of the first n - 1 actions so that they only get a readonly view of the arguments. The last action will accept move only objects. PiperOrigin-RevId: 324619666
* | | | | | | Googletest exportAbseil Team2020-08-073-7/+21
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix DoAll to work with move-only sink arguments. This changes types of the first n - 1 actions so that they only get a readonly view of the arguments. The last action will accept move only objects. PiperOrigin-RevId: 324600664
* | | | | | Merge pull request #2952 from jasjuang:masterMark Barolak2020-07-311-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 324016198
| * | | | | | fix clang tidy modernize-use-equals-default warningsjasjuang2020-07-191-1/+1
| |/ / / / /
* | | | | | Merge pull request #2920 from ongjunjie:fix-death-test-regexMark Barolak2020-07-311-0/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | PiperOrigin-RevId: 324014547
| * | | | | Fix test failing when simple regex is usedJun Jie2020-07-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test MatcherDeathTest.DoesNotBreakBareRegexMatching fails when googletest uses simple regex instead of posix regex. This partially fixes #2687
* | | | | | Googletest exportAbseil Team2020-07-291-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated documentation for Value-Parameterized Tests: Per-default, a TEST_P without a corresponding INSTANTIATE_TEST_SUITE_P now causes a failing test. PiperOrigin-RevId: 323622468
* | | | | | Googletest exportAbseil Team2020-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Internal documentation change. PiperOrigin-RevId: 323612305
* | | | | | Googletest exportofats2020-07-284-59/+24
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Stop using ADL for InvokeArgument action. PiperOrigin-RevId: 323234396
* | | | | Merge pull request #2937 from Ashikpaul:patch-1vslashg2020-07-151-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 321178217
| * | | | | Fixed some minor typosAshik Paul2020-07-111-5/+5
| | | | | |
* | | | | | Googletest exportofats2020-07-156-1483/+1167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move matchers' tests from *generated* to common files. PiperOrigin-RevId: 320954068
* | | | | | Merge pull request #2903 from AmatanHead:informative-exception-assertsvslashg2020-07-154-41/+283
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | PiperOrigin-RevId: 320425648
| * | | | | Make EXPECT_THROW and EXPECT_NO_THROW macros more informativeVladimir Goncharov2020-06-202-14/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EXPECT_THROW and EXPECT_NO_THROW will now print exception type and message when an unexpected std::exception-derived error is thrown. Fixes #2878
* | | | | | Googletest exportAbseil Team2020-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding std:: namespace to string in the example PiperOrigin-RevId: 320327910
* | | | | | Merge pull request #2872 from elindsey:masterGennadiy Rozental2020-07-091-3/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 320224740
| * | | | | | fix compilation on OpenBSD 6.7Eli Lindsey2020-05-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building on OpenBSD 6.7 current fails due to implicit numeric conversions: OpenBSD clang version 8.0.1 (tags/RELEASE_801/final) (based on LLVM 8.0.1) Target: amd64-unknown-openbsd6.7 Thread model: posix InstalledDir: /usr/bin In file included from /tmp/u/build/_deps/googletest-src/googletest/src/gtest-all.cc:45: /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:201:19: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion] mib[5] = size / mib[4]; ~ ^~~~~~ /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:211:33: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion] for (size_t i = 0; i < size / mib[4]; i++) { ~ ^~~~~~ /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:215:10: error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion] return nthreads; ~~~~~~ ^~~~~~~~ /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:201:17: error: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32] mib[5] = size / mib[4]; ~ ~~~~~^~~~~~~~ 4 errors generated.
* | | | | | | Merge pull request #2808 from OlivierLDff:cmake-cpp11-featureGennadiy Rozental2020-07-091-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 320222294
| * | | | | | | use target_compile_features to use c++11 if cmake > 3.8Olivier Ldff2020-07-021-0/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | If target_compile_features is available and cxx_std_11. This fix compilation with clang and gcc when c++11 isn't specified by user.
* | | | | | | Merge pull request #2682 from mjvankampen:cmake-QNX-fixGennadiy Rozental2020-07-091-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 320191208
| * \ \ \ \ \ \ Merge branch 'master' of https://github.com/google/googletest into cmake-QNX-fixMark Jan van Kampen2020-04-1628-592/+1276
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # CMakeLists.txt
| * \ \ \ \ \ \ \ Merge branch 'master' of https://github.com/google/googletest into cmake-QNX-fixMark Jan van Kampen2020-02-1732-5318/+3022
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # CMakeLists.txt
| * | | | | | | | | Fixes extensions missing for QNXMark Jan van Kampen2020-01-221-1/+1
| | | | | | | | | |
* | | | | | | | | | Googletest exportofats2020-07-092-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace ByRef with std::ref everywhere in docs. PiperOrigin-RevId: 320002303
* | | | | | | | | | Googletest exportAbseil Team2020-07-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup: Error message grammar fix. PiperOrigin-RevId: 319992912
* | | | | | | | | | Googletest exportAbseil Team2020-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix mismatch between `int` and `int32_t` in the parse function. On some platforms, those are different types. PiperOrigin-RevId: 319991862
* | | | | | | | | | Googletest exportAbseil Team2020-07-051-1/+1
| |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve compatibility with strict compilers targeting Windows Remove an unnecessary ##, which could result in warnings about invalid preprocessor tokens when pasting to an initial '(' PiperOrigin-RevId: 319277617
* | | | | | | | | Googletest exportAbseil Team2020-06-261-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Bazel build rules for gtest_list_output_unittest.py and correct some off-by-one line number expectations. PiperOrigin-RevId: 318466071
* | | | | | | | | Googletest exportAbseil Team2020-06-262-54/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normalize headers in gMock docs Increasing Header levels on two pages, to better match other pages in the same directory. PiperOrigin-RevId: 318280892
* | | | | | | | | Googletest exportAbseil Team2020-06-262-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update auto_mock to support C++17 nested namespaces PiperOrigin-RevId: 318192214
* | | | | | | | | Merge pull request #2902 from mshingote:masterMark Barolak2020-06-261-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 318147761
| * | | | | | | | | Updated googletest issue tracker url.Mayur Shingote2020-06-191-1/+1
| | |_|_|_|/ / / / | |/| | | | | | |
* | | | | | | | | Googletest exportAbseil Team2020-06-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure sanitizers do not tamper with the stack here in StackLowerThanAddress(). PiperOrigin-RevId: 318082465
* | | | | | | | | Merge pull request #2718 from NINI1988:masterMark Barolak2020-06-265-12/+194
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 317696457
OpenPOWER on IntegriCloud