summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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-1511-571/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-192-1/+3
|
* Removes obsolete debug code.vladlosev2012-09-063-5/+3
|
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-075-36/+330
| | | | char arrays are not escapped properly.
* Fixes threading annotations and compatibility with C++11, which doesn'tzhanyong.wan2012-05-312-8/+14
| | | | | allow exepctions to be thrown in a destructor.
* Misc small updates to some debug death code, and to messages streaming to macrosjgm2012-03-096-29/+140
|
* Adds file and line information to the "message", which is used as the summaryjgm2012-01-172-9/+14
| | | | of a failure.
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-0413-25/+31
|
* Adds support for detection of running in death test child processes.vladlosev2011-10-281-0/+21
|
* Changes to fix gtest-printers_test on VC++ 2010.vladlosev2011-10-241-1/+5
|
* Implements the timestamp attribute for the testsuites element in the output ↵vladlosev2011-10-054-40/+188
| | | | XML (external contribution by Dirk Meister).
* Fixes test failure on 32-bit Ubuntu.vladlosev2011-10-051-1/+2
|
* Fixes C++0x compatibility problems.vladlosev2011-09-261-28/+30
|
* Ignore SIGPROF signal during clone()/fork() call. clone()/fork() call hangs ↵vladlosev2011-09-091-0/+55
| | | | permanently if it consumes more cpu than the SIGPROF signal timer interval (by Nabeel Mian).
* Fixes a user reported test break (modifying a dict while iterating).vladlosev2011-08-161-1/+1
|
* Fixes a resource leak in gtest-port_test (by Haruka Iwao).vladlosev2011-07-111-0/+1
|
* QNX compatibility patch (by Haruka Iwao).vladlosev2011-06-201-2/+7
|
* Fixes broken build on VC++ 7.1.vladlosev2011-06-133-28/+53
|
* Fixes Sun C++ compiler errors (by Pasi Valminen)zhanyong.wan2011-04-121-4/+10
|
* Avoids iterator_traits, as it's not available in libCStd when compiled with ↵zhanyong.wan2011-04-121-0/+20
| | | | Sun C++.
* 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).
* Changes diagnostic output of the question mark from '\?' to '?'.vladlosev2011-04-011-14/+14
|
* Fixes Windows CE compatibility problem (issue ↵vladlosev2011-03-302-4/+4
| | | | http://code.google.com/p/googletest/issues/detail?id=362).
* Makes IsContainerTest compatible with Sun C++ and Visual Age C++, based on ↵zhanyong.wan2011-03-091-0/+22
| | | | Hady Zalek's report and experiment; also fixes a bug that causes it to think that a class named const_iterator is a container; also clarifies the Borland C++ compatibility fix in the comments based on Josh Kelley's suggestion.
* 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-052-3/+3
| | | | Sun OS. Patch by Hady Zalek.
* Fixes PrintUnprintableTypeTest.InGlobalNamespace in gtest-printers_test on ↵vladlosev2011-02-281-1/+1
| | | | 64bit PowerPCs.
* Indents preprocessor directives.zhanyong.wan2011-02-2211-141/+187
|
* Fixes off-by-one error in a message about test sharding (by David Glasser).vladlosev2011-02-121-1/+1
|
* Updates an outdated error message.vladlosev2011-02-101-5/+1
|
* Adds null check for file locations in XML output printer.vladlosev2011-02-021-0/+38
|
* Add markers to death test messages to make them more recogizable (by Jeff ↵zhanyong.wan2011-02-021-3/+59
| | | | Shute).
* Removes unused include directive.vladlosev2011-02-021-1/+0
|
* Adds type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-025-51/+100
| | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev.
* Renames some internal functions to avoid name clashes.vladlosev2011-01-291-7/+7
|
* Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).zhanyong.wan2011-01-102-8/+11
|
* Removes unused NC tests.zhanyong.wan2011-01-072-349/+0
|
* Suppresses self-assignment warnings.zhanyong.wan2011-01-073-48/+51
|
* Allows a value-parameterized test fixture to derive from Test and ↵zhanyong.wan2010-12-061-0/+33
| | | | WithParamInterface<T> separately; contributed by Matt Austern.
* Makes gtest print string literals correctly when it contains \x escape ↵zhanyong.wan2010-12-021-0/+24
| | | | sequences. Contributed by Yair Chuchem.
* Changes default of --gtest_catch_exceptions to true.vladlosev2010-10-263-12/+11
|
* Fixes compiler warning when built with -std=c++0x.vladlosev2010-10-221-1/+8
|
* Modifies handling of C++ exceptions in death tests to treat exceptions ↵vladlosev2010-10-182-2/+98
| | | | escaping them as failures.
* Makes gtest wokr on MinGW (by Vlad Losev); removes unused ↵zhanyong.wan2010-10-113-41/+57
| | | | linked_ptr::release() method (by Zhanyong Wan).
* Removes uses of deprecated AssertionFailure() API (by Vlad Losev).zhanyong.wan2010-09-271-16/+11
|
* 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-1443-70/+70
|