aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_.Arthur O'Dwyer2020-04-231-2/+0
| | | | | | | | | | | | | | | | | | | | | | None of these are strictly needed for correctness. A large number of them (maybe all of them?) trigger `-Wdeprecated` warnings on Clang trunk as soon as you try to use the implicitly defaulted (but deprecated) copy constructor of a class that has deleted its copy assignment operator. By declaring a deleted copy assignment operator, the old code also caused the move constructor and move assignment operator to be non-declared. This means that the old code never got move semantics -- "move-construction" would simply call the defaulted (but deprecated) copy constructor instead. With the new code, "move-construction" calls the defaulted move constructor, which I believe is what we want to happen. So this is a runtime performance optimization. Unfortunately we can't yet physically remove the definitions of these macros from gtest-port.h, because they are being used by other code internally at Google (according to zhangxy988). But no new uses should be added going forward.
* Googletest exportAbseil Team2020-02-071-1/+0
| | | | | | | | Get rid of gmock-generated-matchers.h and gmock-generated-matchers.h.pump. Stop using pump for MATCHER* macroses generation. PiperOrigin-RevId: 293878808
* Revert "remove MSVC workaround: wmain link error in the static library"Krystian Kuzniarek2019-11-271-2/+9
| | | | This reverts commit 298a40f023e6813d2bf73847c3a38ceaf5e46320.
* Revert "unify googletest and googlemock main functions"Krystian Kuzniarek2019-11-271-1/+1
| | | | This reverts commit a909becdc599c46bcb57346b6123cb57cd07d15d.
* unify googletest and googlemock main functionsKrystian Kuzniarek2019-11-221-1/+1
|
* remove MSVC workaround: wmain link error in the static libraryKrystian Kuzniarek2019-11-221-9/+2
|
* Merge pull request #2515 from ciband:feat/support_esp8266vslashg2019-10-251-1/+8
|\ | | | | | | PiperOrigin-RevId: 276333426
| * Add ESP8266 configs to PlatformIO buildChris Johnson2019-10-111-1/+8
| | | | | | | | | | Added various conditional compliations for ESP8266 to stub out missing functionality.
| * feat: Add support for ESP8266 platformChris Johnson2019-10-111-1/+1
|/ | | | | | Added support for ESP8266 Arduino platform. Refactored Arduino defines to use the GTEST_OS_* model.
* Merge pull request #2497 from thejcannon:handle_null_filenameGennadiy Civil2019-10-101-1/+5
|\ | | | | | | PiperOrigin-RevId: 273585229
| * Use FormatFileLocation for streaming file and lineJoshua Cannon2019-10-071-1/+2
|/
* restore mistakenly removed iffs in their explicit formKrystian Kuzniarek2019-08-203-11/+12
| | | | | Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
* fix typosKrystian Kuzniarek2019-07-303-8/+8
|
* Googletest exportmisterg2019-07-161-1/+1
| | | | | | Fix documentation links PiperOrigin-RevId: 258389329
* Googletest exportAbseil Team2019-07-161-1/+1
| | | | | | Update a broken link in a comment. PiperOrigin-RevId: 257493975
* Renaming doc files to make the file names more palatable and in preparation ↵Gennadiy Civil2019-06-191-1/+1
| | | | for including documentation in sync process
* Merge pull request #2041 from ciband:chore/fix_library_jsonGennadiy Civil2019-01-232-7/+13
|\ | | | | | | PiperOrigin-RevId: 230554814
| * fix: Add Arduino setup()/loop() functions backChris2019-01-071-0/+14
| | | | | | | | Added setup()/loop() functions back to *_main.cc files to support compiling in CI. Future features could enable this for the end user.
| * Merge branch 'master' into chore/fix_library_jsonChris Johnson2019-01-033-16/+4
| |\ | |/ |/|
| * fix: Remove Arduino entry pointsChris2019-01-031-17/+0
| | | | | | | | | | | | Improved flexibility by removing the Arduino entry points in favor of manual calls to setup/loop that the user can call from their entry point. This is the more common use case for Arudino. Also added the gtest/gmock_main files to the PlatformIO ignore list since we are not supporting that feature.
* | Googletest exportmisterg2019-01-031-4/+4
| | | | | | | | | | | | TestCase->TestSuite refactoring PiperOrigin-RevId: 227702164
* | Googletest exportmisterg2019-01-022-6/+0
| | | | | | | | | | | | Internal Change PiperOrigin-RevId: 227575279
* | Googletest exportAbseil Team2019-01-022-6/+0
|/ | | | | | | | Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
* Merge pull request #2000 from ciband:feat/add_support_platformioGennadiy Civil2018-12-141-0/+17
|\ | | | | | | PiperOrigin-RevId: 225552792
| * feat: Add initial support for PlatformIO and ArduinoChris Johnson2018-12-041-0/+16
| |
* | Googletest exportmisterg2018-12-131-1/+1
|/ | | | | | Internal Change PiperOrigin-RevId: 225231727
* Googletest exportAbseil Team2018-12-032-7/+7
| | | | | | Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
* Googletest exportmisterg2018-11-201-1/+1
| | | | | | Internal Change PiperOrigin-RevId: 222123106
* Googletest exportdurandal2018-11-201-110/+0
| | | | | | Move the Matcher<T> interface to googletest so I can use it to extend death test regex matching in a subsequent change. PiperOrigin-RevId: 221675910
* Remove workarounds for unsupported MSVC versionsRobin Lindén2018-11-101-3/+3
|
* Merge pull request #1941 from barkovv:masterGennadiy Civil2018-10-291-2/+2
|\ | | | | | | PiperOrigin-RevId: 219134349
| * Replaced all NULLs with nullptr in googlemockVadim Barkov2018-10-281-2/+2
| |
* | Googletest exportmisterg2018-10-291-1/+2
|/ | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 219129336
* Googletest exportAbseil Team2018-10-261-2/+1
| | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218618184
* Googletest exportmisterg2018-10-261-1/+2
| | | | | | Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218571466
* Merge branch 'isnice' of https://github.com/BrukerJWD/googletest into isniceJonathan Wendeborn2018-10-167-236/+414
|\
| * Merge branch 'master' into isniceBrukerJWD2018-10-167-236/+414
| |\
| | * Apply clang-tidy modernize-use-nullptr to googletest.Abseil Team2018-10-052-28/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that googletest has moved to C++11, it should no longer use NULL or 0 for the null pointer. This patch converts all such usages to nullptr using clang-tidy. This prevents LLVM from issuing -Wzero-as-null-pointer-constant warnings. PiperOrigin-RevId: 215814400
| | * more comments changesGennadiy Civil2018-08-141-1/+1
| | |
| | * more comments changesGennadiy Civil2018-08-142-2/+2
| | |
| | * Comments changes, no functionality changesGennadiy Civil2018-08-147-14/+7
| | |
| | * Formatting changes,small cleanup, no functionality changesGennadiy Civil2018-08-071-1/+2
| | |
| | * Updated broken and outdated URLsPiotr Kąkol2018-07-251-1/+1
| | |
| | * Mark new GetWithoutMatchers method as part of the exported API, to address ↵David Sunderland2018-04-181-1/+1
| | | | | | | | | | | | MSVC linker errors.
| | * Don't use generalized initializer list; is C++11 extension.David Sunderland2018-04-181-1/+1
| | |
| | * Clone of unsubmitted cr/176529515. Introduce parameterless expectations.David Sunderland2018-04-181-0/+2
| | |
| | * ...mergingGennadiy Civil2018-04-111-1/+1
| | |
| | * mergingGennadiy Civil2018-04-101-7/+10
| | |
| | * mergeGennadiy Civil2018-04-102-11/+8
| | |\
| | | * Revert "gmock actions 2"Gennadiy Civil2018-04-092-16/+1
| | | |