summaryrefslogtreecommitdiffstats
path: root/include/gtest/gtest.h
Commit message (Collapse)AuthorAgeFilesLines
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-071-10/+87
| | | | char arrays are not escapped properly.
* Misc small updates to some debug death code, and to messages streaming to macrosjgm2012-03-091-6/+0
|
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-041-3/+3
|
* Expressed the thread-safety annotations in code, replacing the existing ↵vladlosev2011-10-241-6/+12
| | | | comment-based system (by Aaron Jacobs).
* Implements the timestamp attribute for the testsuites element in the output ↵vladlosev2011-10-051-0/+4
| | | | XML (external contribution by Dirk Meister).
* Fixes compatibility with Borland C++Builder. Original patch by Joshzhanyong.wan2011-03-051-1/+3
| | | | Kelley. Simplified by Zhanyong Wan.
* Indents preprocessor directives.zhanyong.wan2011-02-221-16/+17
|
* Adds type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-021-13/+37
| | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev.
* Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).zhanyong.wan2011-01-101-13/+27
|
* Allows a value-parameterized test fixture to derive from Test and ↵zhanyong.wan2010-12-061-6/+21
| | | | WithParamInterface<T> separately; contributed by Matt Austern.
* Fixes compiler warning when built with -std=c++0x.vladlosev2010-10-221-18/+22
|
* Removes uses of deprecated AssertionFailure() API (by Vlad Losev).zhanyong.wan2010-09-271-3/+2
|
* Implements GTEST_ASSERT_XY as alias of ASSERT_XY.zhanyong.wan2010-09-151-6/+33
|
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-10/+10
|
* Removes all uses of StrStream; fixes the VC projects and simplifies them by ↵zhanyong.wan2010-09-081-4/+4
| | | | using gtest-all.cc.
* Casts char to unsigned char before calling isspace() etc to avoid undefined ↵zhanyong.wan2010-08-311-0/+8
| | | | 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-2/+5
| | | | 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-28/+62
| | | | 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/+6
| | | | Losev).
* Allows EXPECT_EQ to accept arguments that don't have operator << (by ↵zhanyong.wan2010-07-211-25/+1
| | | | | | | 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).
* Fixes a wrong comment for OnTestPartResult().vladlosev2010-05-311-1/+1
|
* Suppresses some Clang warnings (by Chandler Carruth, Jeffrey Yasskin, and ↵zhanyong.wan2010-05-101-1/+1
| | | | Zhanyong Wan).
* Moves the universal printer from gmock to gtest and refactors the cmake ↵zhanyong.wan2010-05-101-12/+2
| | | | script for reusing in gmock (by Vlad Losev).
* Silence a Clang warning about an unused variable.chandlerc2010-05-091-1/+1
|
* Adds alternative spellings for FAIL, SUCCEED, and TEST.zhanyong.wan2010-04-131-3/+20
|
* Adds missing gtest DLL exports.zhanyong.wan2010-03-221-19/+19
|
* Supports building gtest as a DLL (by Vlad Losev).zhanyong.wan2010-03-051-51/+51
|
* Simplifies the implementation by using std::vector instead of Vector.zhanyong.wan2010-02-251-11/+13
|
* Removes uses of GTEST_HAS_STD_STRING.zhanyong.wan2009-12-161-19/+10
|
* Turns on -Wshadow (by Preston Jackson).zhanyong.wan2009-12-161-2/+2
|
* Implements support for AssertionResult in Boolean assertions such as ↵vladlosev2009-10-201-31/+115
| | | | EXPECT_TRUE; Fixes Google Tests's tuple implementation to default-initialize its fields in the default constructor (by Zhanyong Wan); Populates gtest_stress_test.cc with actual tests.
* Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original ↵zhanyong.wan2009-09-301-6/+22
| | | | | | patch). Enables death tests on minGW (by Vlad Losev).
* Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).zhanyong.wan2009-09-301-9/+9
| | | | | | Renames EventListenrs to TestEventListeners (by Zhanyong Wan). Fixes invalid characters in XML report (by Vlad Losev). Refacotrs SConscript (by Vlad Losev).
* Publishes the even listener API (by Vlad Losev); adds OS-indicating macros ↵zhanyong.wan2009-09-241-95/+63
| | | | to simplify gtest code (by Zhanyong Wan).
* Renames the TestPartResult type enums and adjusts the order of methods in ↵zhanyong.wan2009-09-181-37/+37
| | | | the event listener interface (by Vlad Losev).
* Renames the methods in the event listener API, and changes the order of *End ↵zhanyong.wan2009-09-171-61/+49
| | | | events (by Vlad Losev).
* More implementation of the event listener interface (by Vlad Losev); Reduces ↵zhanyong.wan2009-09-041-6/+209
| | | | the stack space usage of assertions by moving AssertHelper's fields to the heap (by Jorg Brown); Makes String faster, smaller, and simpler (by Zhanyong Wan); Fixes a bug in String::Format() (by Chandler); Adds the /MD version of VC projects to the distribution (by Vlad Losev).
* More refactoring for the event listener API, by Vlad Losev.zhanyong.wan2009-07-161-25/+29
|
* Adds the command line flags needed for test shuffling. Most code by Josh ↵zhanyong.wan2009-07-141-0/+9
| | | | Kelley.
* Adds color support for TERM=linux (by Alexander Demin); renames List to ↵zhanyong.wan2009-07-131-18/+19
| | | | Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
* Makes List a random-access data structure. This simplifies the ↵zhanyong.wan2009-07-011-5/+6
| | | | implementation and makes it easier to implement test shuffling.
* Reduces the flakiness of gtest-port_test on Mac; improves the Python tests; ↵zhanyong.wan2009-07-011-35/+48
| | | | hides methods that we don't want to publish; makes win-dbg8 the default scons configuration (all by Vlad Losev).
* Refactors for the event listener API (by Vlad Losev): hides some methods in ↵zhanyong.wan2009-06-251-28/+45
| | | | UnitTest; implements the result printers using the public API.
* Makes gtest's tuple implementation work with Symbian 5th edition by ↵zhanyong.wan2009-06-241-0/+59
| | | | bypassing 2 compiler bugs (by Zhanyong Wan); refactors for the event listener API (by Vlad Losev).
* Turns on exceptions when compiling gtest_output_test (by Vlad Losev); moves ↵zhanyong.wan2009-06-221-2/+127
| | | | TestCase to gtest.h to prepare for the event listener API (by Vlad Losev).
* Moves TestResult from gtest-internal-inl.h to gtest.h to prepare for the ↵zhanyong.wan2009-06-191-0/+96
| | | | even listener API work (by Vlad Losev); cleans up the scons script (by Zhanyong Wan).
* Fixes broken gtest_unittest on Cygwin and cleans it up (by Vlad Losev); ↵zhanyong.wan2009-06-191-0/+38
| | | | fixes the wrong usage of os.environ.clear() in gtest_output_test.py (by Vlad Losev); fixes the logic for detecting Symbian (by Zhanyong Wan); moves TestProperty for event listener (by Vlad Losev).
* Makes --gtest_list_tests honor the test filter (by Jay Campan).zhanyong.wan2009-04-241-1/+6
|
* Adds sample4_unittest to scons (by Vlad Losev); adds logic for getting the ↵zhanyong.wan2009-04-071-0/+7
| | | | thread count on Mac (by Vlad Losev); adds HasFailure() and HasNonfatalFailure() (by Zhanyong Wan).
* Cleans up the use of GTEST_OS_WINDOWS and _MSC_VER.zhanyong.wan2009-03-311-8/+1
|