aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-7699/+0
|
* Inject implementation of *FromGTestEnv using macros.kosak2015-07-241-0/+4
|
* GTEST_USE_OWN_FLAGFILE supportkosak2015-07-191-0/+2
|
* Add support for --gtest_flagfile.kosak2015-07-171-1/+55
|
* Add support for --gtest_flagfilekosak2015-07-171-0/+99
|
* Add comment.kosak2015-07-141-0/+10
|
* Minor changes.kosak2015-07-141-1/+1
|
* fully-qualify use of scoped_ptr namekosak2015-07-131-1/+0
|
* urxvt supports colorskosak2015-04-281-0/+6
|
* Expand equality failure messages with a by-line diff.kosak2014-07-281-0/+94
|
* Push upstream to SVN.billydonahue2014-05-151-25/+41
|
* Fixes compatibility with C++11: (1 - 1) is no longer a NULL pointer constant.zhanyong.wan2013-06-181-9/+0
|
* Implements support for calling Test::RecordProperty() outside of a test.vladlosev2013-04-051-47/+187
|
* Fixes some compatibility issues with STLport.zhanyong.wan2013-04-041-1/+1
|
* Supports colored output on term type screen-256color.zhanyong.wan2013-03-111-0/+3
| | | | | | Proposed as a one-line patch by Tom Jakubowski (tom@crystae.net); finished by Zhanyong Wan.
* Fixes gUnit streaming output format.kosak2013-02-221-0/+75
|
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak2013-02-221-54/+20
| | | | truncates the result at 4096 chars. Also update an obsolete link in comment.
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-151-328/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Improves Android support (by David Turner).vladlosev2012-09-191-1/+1
|
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-071-20/+0
| | | | char arrays are not escapped properly.
* Misc small updates to some debug death code, and to messages streaming to macrosjgm2012-03-091-4/+117
|
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-041-12/+13
|
* Implements the timestamp attribute for the testsuites element in the output ↵vladlosev2011-10-051-0/+106
| | | | XML (external contribution by Dirk Meister).
* Removes commas from last items in enums (a C++ standard compliance fix).vladlosev2011-04-081-1/+1
|
* makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the ↵zhanyong.wan2011-04-071-2/+2
| | | | name of xlC (by Hady Zalek).
* Fixes compatibility with Borland C++Builder. Original patch by Joshzhanyong.wan2011-03-051-6/+19
| | | | Kelley. Simplified by Zhanyong Wan.
* Fixes non-conforming uses of commas in enums s.t. the code compiles onzhanyong.wan2011-03-051-1/+1
| | | | Sun OS. Patch by Hady Zalek.
* Indents preprocessor directives.zhanyong.wan2011-02-221-29/+45
|
* Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).zhanyong.wan2011-01-101-8/+10
|
* Suppresses self-assignment warnings.zhanyong.wan2011-01-071-1/+2
|
* Fixes compiler warning when built with -std=c++0x.vladlosev2010-10-221-1/+8
|
* Makes gtest wokr on MinGW (by Vlad Losev); removes unused ↵zhanyong.wan2010-10-111-29/+46
| | | | linked_ptr::release() method (by Zhanyong Wan).
* Allows EXPECT_FATAL_FAILURE() and friends to accept a string object as the ↵zhanyong.wan2010-09-271-0/+23
| | | | second argument.
* Implements GTEST_ASSERT_XY as alias of ASSERT_XY.zhanyong.wan2010-09-151-0/+35
|
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-2/+2
|
* Casts char to unsigned char before calling isspace() etc to avoid undefined ↵zhanyong.wan2010-08-311-16/+9
| | | | behavior (by Zhanyong Wan); removes conditional #includes keyed on GTEST_HAS_PROTOBUF_ (by Zhanyong Wan); publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); forward declares some classes properly (by Samuel Benzaquen); honors the --gtest_catch_exceptions flag (by Vlad Losev).
* Removes the Windows golden file (by Vlad Losev); implements test result ↵zhanyong.wan2010-08-191-1/+35
| | | | streaming (by Nikhil Jindal and cleaned up by Zhanyong Wan).
* Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵zhanyong.wan2010-08-091-22/+40
| | | | improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).
* Adds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad ↵zhanyong.wan2010-07-261-0/+15
| | | | Losev).
* Allows EXPECT_EQ to accept arguments that don't have operator << (by ↵zhanyong.wan2010-07-211-0/+59
| | | | | | | Zhanyong Wan). Allows a user to customize how the universal printer prints a pointer of a specific type by overloading << (by Zhanyong Wan). Works around a bug in Cymbian's C++ compiler (by Vlad Losev).
* Adds tests for SkipPrefix().zhanyong.wan2010-06-081-0/+27
|
* Adds GTEST_REMOVE_REFERENCE_AND_CONST_.zhanyong.wan2010-05-171-0/+15
|
* Moves the universal printer from gmock to gtest and refactors the cmake ↵zhanyong.wan2010-05-101-2/+337
| | | | script for reusing in gmock (by Vlad Losev).
* Implements color output in GNU Screen sessions (issue 277).vladlosev2010-04-221-0/+9
|
* Adds alternative spellings for FAIL, SUCCEED, and TEST.zhanyong.wan2010-04-131-0/+13
|
* C++ Builder compatibility patch by Josh Kelley.vladlosev2010-04-071-5/+13
|
* Adds missing gtest DLL exports.zhanyong.wan2010-03-221-7/+0
|
* Solaris and AIX patch by Hady Zalekvladlosev2010-03-171-10/+6
|
* Renames ThreadStartSempahore to Notificaton (by Vlad Losev); adds threading ↵zhanyong.wan2010-03-041-21/+10
| | | | tests for SCOPED_TRACE() (by Vlad Losev); replaces native pthread calls with gtest's threading constructs (by Vlad Losev); fixes flakiness in CountedDestructor (by Vlad Losev); minor MSVC 7.1 clean-up (by Zhanyong Wan).
* Fixes MSVC warnings in 64-bit mode.zhanyong.wan2010-02-251-1/+1
|