aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportAbseil Team2019-01-232-0/+255
| | | | | | | | | | | Add AllOfArray matcher that verifies a value matches all member of some array/container/list/set/..., e.g: EXPECT_THAT(1, AnyOfArray({1, 2, 3})) In the simplest form this is identical to AnyOf(1, 2, 3). But unlike that one it works on containers. Add AnyOfArray matcher that verifies a value matches any member of some array/container/list/set/... PiperOrigin-RevId: 230403653
* Googletest exportAbseil Team2019-01-221-1/+1
| | | | | | Make internal FunctionMocker class final PiperOrigin-RevId: 230332778
* Googletest exportAbseil Team2019-01-183-2/+43
| | | | | | | | | | Fix mocking method arguments with templated copy constructors. A previous change removed workarounds for old compilers from googletest and googlemock. Unfortunately, a bit of code that started as a workaround for Symbian's C++ compiler is still needed to avoid copy/move constructor ambiguity when mocking functions with certain argument types. The test case added by this CL is extracted from Chrome's codebase, and was discovered while attempting to roll googletest. PiperOrigin-RevId: 229801765
* Googletest exportAbseil Team2019-01-177-496/+55
| | | | | | | | | Refactor the `Invoke` and `InvokeWithoutArgs` actions: - Replace pump'd classes and functions with templates. - Make the polymorphic actions be polymorphic functors instead. - Fix Invoke(Callback*) to work with subclasses of the callbacks, instead of trying to diagnose that in gmock_doctor. PiperOrigin-RevId: 229604112
* Googletest exportmisterg2019-01-143-12/+11
| | | | | | Change remaining samples to use new Test Suite API PiperOrigin-RevId: 229231566
* Googletest exportAbseil Team2019-01-143-34/+98
| | | | | | Add move-only argument support to almost all remaining matchers. PiperOrigin-RevId: 229030728
* Googletest exportAbseil Team2019-01-145-105/+19
| | | | | | | Deduplicate testing::ReferenceWrapper with std::reference_wrapper. Minor cleanups in matchers_test. PiperOrigin-RevId: 229022872
* Googletest exportmisterg2019-01-1124-494/+486
| | | | | | Change tests to use new Test Suite API PiperOrigin-RevId: 228908894
* Workaround homebrew issueGennadiy Civil2019-01-101-2/+2
|
* Merge branch 'master' of github.com:google/googletestGennadiy Civil2019-01-100-0/+0
|\
| * Googletest exportAbseil Team2019-01-101-8/+5
| | | | | | | | | | | | ...text exposed to GitHub repo https://www.github.com/google/googletest PiperOrigin-RevId: 228573333
* | Googletest exportAbseil Team2019-01-101-8/+5
|/ | | | | | | | | | Fix warning about deprecation of implicit operations such as copy constructors or assignment operators. Specifically: MatcherBase's default copy constructor, assignment operator, move operator, and move assignment operator are now declared explicitly rather than depending on the compiler implicit generation (which is disallowed/warned against due to MatcherBase's declaration of the destructor). PiperOrigin-RevId: 228573333
* Merge pull request #2051 from enptfb55:mastergennadiycivil2019-01-088-127/+163
|\ | | | | | | PiperOrigin-RevId: 228337465
| * fixing build errors for unused parameterSal Amato2019-01-061-6/+6
| |
* | Googletest exportmisterg2019-01-085-87/+9
| | | | | | | | | | | | | | Replace testing::internal::ImplicitlyConvertible with std::is_convertible Fixes #2054 PiperOrigin-RevId: 228334305
* | Googletest exportAbseil Team2019-01-0810-576/+135
| | | | | | | | | | | | Drop generated file gmock-generated-internal-utils.h. PiperOrigin-RevId: 228232195
* | Merge pull request #2048 from ciband:chore/clang_tidygennadiycivil2019-01-078-158/+122
|\ \ | | | | | | | | | PiperOrigin-RevId: 228173023
| * | clang-tidy: modernize-deprecated-headersChris2019-01-051-1/+1
| | |
* | | Googletest exportAbseil Team2019-01-072-8/+45
| |/ |/| | | | | | | | | Fix GTEST_IS_NULL_LITERAL_ for types that have magic implicit conversions. PiperOrigin-RevId: 227879345
* | Merge pull request #2042 from gennadiycivil/masterGennadiy Civil2019-01-033-108/+106
|\ \ | | | | | | Update Docs TestCase->TestSuite
| * \ Merge branch 'master' of https://github.com/google/googletestGennadiy Civil2019-01-0322-1119/+1502
| |\ \ | |/ / |/| |
* | | Googletest exportmisterg2019-01-033-38/+48
| | | | | | | | | | | | | | | | | | Fixes #1261 PiperOrigin-RevId: 227740670
* | | Googletest exportmisterg2019-01-0320-1081/+1454
| | | | | | | | | | | | | | | | | | TestCase->TestSuite refactoring PiperOrigin-RevId: 227702164
| * | Update docs, TestCase->TestSuiteGennadiy Civil2019-01-033-108/+106
|/ /
* | Update README.mdGennadiy Civil2019-01-031-2/+2
| |
* | Update README.mdGennadiy Civil2019-01-031-1/+1
| |
* | Update README.mdGennadiy Civil2019-01-031-0/+4
| |
* | Merge pull request #2026 from justin6case/example_makefile_improvementsGennadiy Civil2019-01-032-13/+35
|\ \ | | | | | | Example/sample makefile improvements
| * | Improvements have been made to the example/sample makefiles for both googlemockCase, Matt2018-12-202-13/+35
| | | | | | | | | | | | | | | | | | and googletest. Library files are now created and named like versions produced by Cmake.
* | | Merge pull request #2037 from ciband:chore/fix_library_jsonGennadiy Civil2019-01-027-33/+1755
|\ \ \ | | | | | | | | | | | | PiperOrigin-RevId: 227615222
| * \ \ Merge branch 'chore/fix_library_json' of ↵Chris2018-12-290-0/+0
| |\ \ \ | | | | | | | | | | | | | | | https://github.com/ciband/googletest into chore/fix_library_json
| * | | | fix: Add additional source and include directories.Chris2018-12-291-34/+38
| | | | | | | | | | | | | | | | | | | | This is still a work in progress.
* | | | | Googletest exportmisterg2019-01-0229-108/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Internal Change PiperOrigin-RevId: 227575279
* | | | | Googletest exportAbseil Team2019-01-0225-345/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
* | | | | Merge pull request #2039 from gennadiycivil/masterGennadiy Civil2019-01-024-1706/+0
|\ \ \ \ \ | |_|_|_|/ |/| | | | Remove outdated scripts
| * | | | Remove outdated scriptsGennadiy Civil2019-01-024-1706/+0
| | | | |
| * | | | Revert "test, please ignore"Gennadiy Civil2019-01-021-1/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 4665eee10a1d495aec9970fddf6231cf2339b1b7.
| * | | | Merge branch 'master' of https://github.com/google/googletestGennadiy Civil2019-01-02143-14463/+6941
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #2035 from syohex/update-xcode-project-fileGennadiy Civil2018-12-281-12/+0
|\ \ \ \ \ | | | | | | | | | | | | Update Xcode project file
| * | | | | Update Xcode project fileSyohei YOSHIDA2018-12-281-12/+0
|/ / / / / | | | | | | | | | | | | | | | Remove files which no longer exist.
* | | | | Merge #2002Ryohei Machida2018-12-272-22/+15
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 227030722
* | | | | Update README.mdGennadiy Civil2018-12-271-1/+1
| | | | |
* | | | | Merge pull request #2027 from ciband:chore/fix_library_jsonGennadiy Civil2018-12-272-3/+3
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | PiperOrigin-RevId: 227028806
| * | | | fix: Correct GitHub pathsChris Johnson2018-12-211-2/+2
| | |/ / | |/| |
* | | | Update README.mdGennadiy Civil2018-12-211-1/+1
| | | |
* | | | Merge pull request #2013 from ciband:chore/fix_library_jsonGennadiy Civil2018-12-213-2/+59
|\| | | | | | | | | | | | | | | PiperOrigin-RevId: 226493373
| * | | chore: Add .vs to .gitignore for Visual StudioChris2018-12-151-0/+1
| | | |
| * | | fix: correct JSON syntaxChris2018-12-151-1/+1
| | | |
* | | | Googletest exportAbseil Team2018-12-215-169/+6
| |_|/ |/| | | | | | | | | | | | | | | | | Get rid of code generation for NiceMock / StrictMock. They got small enough that it doesn't make sense to generate them. PiperOrigin-RevId: 226455689
* | | Googletest exportAbseil Team2018-12-204-5/+249
| | | | | | | | | | | | | | | | | | Add public entry point testing::RegisterTest. PiperOrigin-RevId: 226350937