aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/gtest.h
Commit message (Collapse)AuthorAgeFilesLines
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-2240/+0
|
* Introduce FormatForComparison to format values that are operands of ↵kosak2015-07-281-97/+0
| | | | comparison assertions (e.g. ASSERT_EQ).
* Add support for --gtest_flagfile.kosak2015-07-171-0/+9
|
* Move the selection of the flag saver implementation into gtest-port.h andkosak2015-07-141-2/+1
| | | | custom/gtest-port.h.
* Change an example to use 'override' rather than 'virtual'. Add missing ↵kosak2015-01-081-2/+2
| | | | headers for 'connect' and 'socket'.
* Reduce the stack frame size for CmpHelper* functions by moving the failure ↵kosak2014-11-171-9/+31
| | | | path into their own functions.
* Reduce the number of occurrences of gendered pronouns in gtest.kosak2014-06-181-11/+11
|
* Push upstream to SVN.billydonahue2014-05-151-13/+29
|
* When --gtest_filter is specified, XML report now doesn't contain information ↵vladlosev2013-04-251-3/+34
| | | | about tests that are filtered out (issue 141).
* Implements support for calling Test::RecordProperty() outside of a test.vladlosev2013-04-051-22/+43
|
* Prints a useful message when GetParam() is called in a non-parameterized test.zhanyong.wan2013-03-121-1/+6
|
* Fixes a nasty issue in gtest's template instantiation.zhanyong.wan2013-02-281-12/+0
|
* Implements RUN_ALL_TESTS() as a function.zhanyong.wan2013-02-281-5/+10
|
* Fixes gUnit streaming output format.kosak2013-02-221-0/+3
|
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak2013-02-221-4/+6
| | | | 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-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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).