- 20 Dec, 2018 1 commit
-
-
Abseil Team authored
Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
-
- 16 Oct, 2018 3 commits
-
-
Jonathan Wendeborn authored
-
Jonathan Wendeborn authored
-
Jonathan Wendeborn authored
-
- 14 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
Comments changes, no functionality changes
-
- 12 Apr, 2018 2 commits
-
-
Gennadiy Civil authored
merging
-
Victor Costan authored
Internal CL 156157936, which was published in commit fe402c27, 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
-
- 21 Aug, 2017 1 commit
-
-
Maurice Gilden authored
-
- 20 Aug, 2017 2 commits
-
-
Gennadiy Civil authored
-
Gennadiy Civil authored
Slightly better names and cleaner tests. Please review
-
- 18 Aug, 2017 4 commits
-
-
Maurice Gilden authored
-
Maurice Gilden authored
-
Maurice Gilden authored
-
Maurice Gilden authored
-
- 15 May, 2017 1 commit
-
-
Nico Weber authored
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.
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-
- 01 Mar, 2013 2 commits
-
-
zhanyong.wan authored
-
zhanyong.wan authored
-
- 15 Nov, 2012 1 commit
-
-
jgm authored
changes that haven't made it to svn. The descriptions of each change are listed below. - Fixes some python shebang lines. - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of its input elements before the conversion to a Matcher. ElementsAreArray can now take a vector as input. ElementsAreArray can now take an iterator pair as input. - Templatize MatchAndExplain to allow independent string types for the matcher and matchee. I also templatized the ConstCharPointer version of MatchAndExplain to avoid calls with "char*" from using the new templated MatchAndExplain. - Fixes the bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. - Extends ElementsAre() to accept arrays whose sizes aren't known. - Switches gTest's internal FilePath class from testing::internal::String to std::string. testing::internal::String was introduced when gTest couldn't depend on std::string. It's now deprecated. - Switches gTest & gMock from using testing::internal::String objects to std::string. Some static methods of String are still in use. We may be able to remove some but not all of them. In particular, String::Format() should eventually be removed as it truncates the result at 4096 characters, often causing problems.
-
- 14 Sep, 2010 1 commit
-
-
zhanyong.wan authored
-
- 31 Aug, 2010 1 commit
-
-
zhanyong.wan authored
Publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to unsigned char before calling isspace() etc to avoid undefined behavior (by Zhanyong Wan); fixes the VC projects (by Fredrik Roubert).
-
- 05 May, 2010 1 commit
-
-
vladlosev authored
-
- 02 Feb, 2010 1 commit
-
-
zhanyong.wan authored
-
- 23 Dec, 2009 1 commit
-
-
zhanyong.wan authored
-
- 21 Oct, 2009 1 commit
-
-
vladlosev authored
Enables more verbose output for expectations (by Sverre Sundsdal); Fixes information loss warning when compiled by VC8.0 with /Wp64; Skips two tests on Windows Mobile that don't work there.
-
- 17 Sep, 2009 1 commit
-
-
zhanyong.wan authored
-
- 16 Sep, 2009 1 commit
-
-
zhanyong.wan authored
-
- 10 Dec, 2008 1 commit
-
-
shiqian authored
-