aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-nice-strict_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportAbseil Team2019-01-021-27/+3
| | | | | | | | Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
* Googletest exportAbseil Team2018-12-211-2/+1
| | | | | | | 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-201-20/+7
| | | | | | Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
* Merge pull request #1911 from BrukerJWD:isniceGennadiy Civil2018-10-231-0/+28
|\ | | | | | | PiperOrigin-RevId: 218384341
| * Removed last reference to internal::kDefaultJonathan Wendeborn2018-10-161-1/+0
| |
| * Merge branch 'master' into isniceBrukerJWD2018-10-161-17/+103
| |\ | |/ |/|
| * Don't fully qualify enum memberJonathan Wendeborn2018-10-161-2/+1
| |
| * Added Mock::IsNaggy, IsNice, and IsStrictJonathan Wendeborn2018-10-161-0/+30
| |
* | Comments changes, no functionality changesGennadiy Civil2018-08-141-2/+1
| |
* | merging Gennadiy Civil2018-04-121-3/+47
| |
* | Remove multiple inheritance from "unintesting call" mock classes.Victor Costan2018-04-121-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Internal CL 156157936, which was published in commit fe402c27790ff1cc9a7e17c5d0aea4ebe7fd8a71, introduced undefined behavior by casting a base class (internal::{Naggy,Nice,Strict}Base<MockClass>, using the curiously recurring template pattern) pointer to a derived class ({Naggy,Nice,Strict}Mock<MockClass>), in the base class' constructor. At that point, the object isn't guaranteed to have taken on the shape of the derived class, and casting is undefined behavior. The undefined behavior was caught by Chrome's CFI build bot [1], and prevents rolling googletest past that commit / CL. This commit simplifies the {Naggy,Nice,Strict}Mock class hierarchy in a way that removes the undefined behavior. [1] https://www.chromium.org/developers/testing/control-flow-integrity
* | Remove unused variableMaurice Gilden2017-08-211-1/+0
| |
* | Added "explicit" as per compiler suggestionGennadiy Civil2017-08-201-1/+1
| |
* | Proposing these changes, please reviewGennadiy Civil2017-08-201-12/+9
| | | | | | | | Slightly better names and cleaner tests. Please review
* | Change tabs to spaces in test caseMaurice Gilden2017-08-181-11/+11
| |
* | Switch return type to class without default constructorMaurice Gilden2017-08-181-1/+7
| |
* | Fix test if exceptions are not supportedMaurice Gilden2017-08-181-0/+6
| |
* | adds test for NiceMock with unknown return valueMaurice Gilden2017-08-181-0/+15
| |
* | Use std::string and ::string explicitly in gtest and gmock code.Nico Weber2017-05-151-14/+13
|/ | | | | | | | | This merges a Google-internal change (117235625). Original CL description: This CL was created manually in about an hour with sed, a Python script to find all the places unqualified 'string' was mentioned, and some help from Emacs to add the "std::" qualifications, plus a few manual tweaks.
* move googlemock files into googlemock/ subdirBilly Donahue2015-08-251-0/+424