- 23 Mar, 2023 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 518810140 Change-Id: Id3f9471f827894761080bc9199b0a092dc829b5f
-
- 15 Mar, 2022 1 commit
-
-
Abseil Team authored
A few tests are examining code locations and looking af the resulting line numbers to verify that GoogleTest shows those to users correctly. Some of those locations change when clang-format is run. For those locations, I've wrapped portions in: // clang-format off ... // clang-format on There may be other locations that are currently not tickled by running clang-format. PiperOrigin-RevId: 434844712 Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
-
- 07 Oct, 2019 1 commit
-
-
Joshua Cannon authored
-
- 06 Apr, 2019 1 commit
-
-
Enji Cooper authored
Cast some values as their unsigned equivalents or `size_t` to match the parameter type used for the template object under test. Also, provide UInt32 equivalent delegate methods for some callers (with int-equivalents for backwards compatibility). This closes #2146. Signed-off-by:Enji Cooper <yaneurabeya@gmail.com>
-
- 05 Oct, 2018 1 commit
-
-
Abseil Team authored
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
-
- 02 Oct, 2018 1 commit
-
-
Arseny Aprelev authored
Closes #1544 With refinements and changes PiperOrigin-RevId: 215273083
-
- 14 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
Comments changes, no functionality changes
-
- 23 May, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 03 Jan, 2018 1 commit
-
-
Gennadiy Civil authored
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-
- 18 Jun, 2014 1 commit
-
-
kosak 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
-
- 25 Feb, 2010 2 commits
-
-
zhanyong.wan authored
-
zhanyong.wan authored
-
- 18 Sep, 2009 1 commit
-
-
zhanyong.wan authored
Renames the TestPartResult type enums and adjusts the order of methods in the event listener interface (by Vlad Losev).
-
- 13 Jul, 2009 1 commit
-
-
zhanyong.wan authored
Adds color support for TERM=linux (by Alexander Demin); renames List to Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
-
- 01 Jul, 2009 1 commit
-
-
zhanyong.wan authored
Makes List a random-access data structure. This simplifies the implementation and makes it easier to implement test shuffling.
-
- 25 Jun, 2009 1 commit
-
-
zhanyong.wan authored
Refactors for the event listener API (by Vlad Losev): hides some methods in UnitTest; implements the result printers using the public API.
-
- 24 Apr, 2009 1 commit
-
-
zhanyong.wan authored
-
- 26 Mar, 2009 1 commit
-
-
zhanyong.wan authored
Simplifies implementation by defining a POSIX portability layer; adds the death test style flag to --help.
-
- 23 Feb, 2009 1 commit
-
-
zhanyong.wan authored
-
- 11 Oct, 2008 1 commit
-
-
shiqian authored
- appends "_" to internal macro names (by Markus Heule). - makes Google Test work with newer versions of tools on Symbian and Windows CE (by Mika Raento). - adds the (ASSERT|EXPECT)_NO_FATAL_FAILURE macros (by Markus Heule). - changes EXPECT_(NON|)FATAL_FAILURE to catch failures in the current thread only (by Markus Heule). - adds the EXPECT_(NON|)FATAL_FAILURE_ON_ALL_THREADS macros (by Markus Heule). - adds GTEST_HAS_PTHREAD and GTEST_IS_THREADSAFE to indicate the availability of <pthread.h> and Google Test's thread-safety (by Zhanyong Wan). - adds scons/SConscript for building with scons (by Joi Sigurdsson). - adds src/gtest-all.cc for building Google Test from a single file (by Markus Heule). - updates the xcode project to include new tests (by Preston Jackson).
-