Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removes testing::internal::String::Format(), which causes problems as it ↵ | kosak | 2013-02-22 | 1 | -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 8 | jgm | 2012-11-15 | 11 | -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). | vladlosev | 2012-09-19 | 2 | -1/+3 |
| | |||||
* | Removes obsolete debug code. | vladlosev | 2012-09-06 | 3 | -5/+3 |
| | |||||
* | Improves gtest's failure messages. In particulars, char pointers and | zhanyong.wan | 2012-06-07 | 5 | -36/+330 |
| | | | | char arrays are not escapped properly. | ||||
* | Fixes threading annotations and compatibility with C++11, which doesn't | zhanyong.wan | 2012-05-31 | 2 | -8/+14 |
| | | | | | allow exepctions to be thrown in a destructor. | ||||
* | Misc small updates to some debug death code, and to messages streaming to macros | jgm | 2012-03-09 | 6 | -29/+140 |
| | |||||
* | Adds file and line information to the "message", which is used as the summary | jgm | 2012-01-17 | 2 | -9/+14 |
| | | | | of a failure. | ||||
* | Improves conformance to the Google C++ Style Guide (by Greg Miller). | vladlosev | 2011-11-04 | 13 | -25/+31 |
| | |||||
* | Adds support for detection of running in death test child processes. | vladlosev | 2011-10-28 | 1 | -0/+21 |
| | |||||
* | Changes to fix gtest-printers_test on VC++ 2010. | vladlosev | 2011-10-24 | 1 | -1/+5 |
| | |||||
* | Implements the timestamp attribute for the testsuites element in the output ↵ | vladlosev | 2011-10-05 | 4 | -40/+188 |
| | | | | XML (external contribution by Dirk Meister). | ||||
* | Fixes test failure on 32-bit Ubuntu. | vladlosev | 2011-10-05 | 1 | -1/+2 |
| | |||||
* | Fixes C++0x compatibility problems. | vladlosev | 2011-09-26 | 1 | -28/+30 |
| | |||||
* | Ignore SIGPROF signal during clone()/fork() call. clone()/fork() call hangs ↵ | vladlosev | 2011-09-09 | 1 | -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). | vladlosev | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | Fixes a resource leak in gtest-port_test (by Haruka Iwao). | vladlosev | 2011-07-11 | 1 | -0/+1 |
| | |||||
* | QNX compatibility patch (by Haruka Iwao). | vladlosev | 2011-06-20 | 1 | -2/+7 |
| | |||||
* | Fixes broken build on VC++ 7.1. | vladlosev | 2011-06-13 | 3 | -28/+53 |
| | |||||
* | Fixes Sun C++ compiler errors (by Pasi Valminen) | zhanyong.wan | 2011-04-12 | 1 | -4/+10 |
| | |||||
* | Avoids iterator_traits, as it's not available in libCStd when compiled with ↵ | zhanyong.wan | 2011-04-12 | 1 | -0/+20 |
| | | | | Sun C++. | ||||
* | Removes commas from last items in enums (a C++ standard compliance fix). | vladlosev | 2011-04-08 | 1 | -1/+1 |
| | |||||
* | makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the ↵ | zhanyong.wan | 2011-04-07 | 1 | -2/+2 |
| | | | | name of xlC (by Hady Zalek). | ||||
* | Changes diagnostic output of the question mark from '\?' to '?'. | vladlosev | 2011-04-01 | 1 | -14/+14 |
| | |||||
* | Fixes Windows CE compatibility problem (issue ↵ | vladlosev | 2011-03-30 | 2 | -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.wan | 2011-03-09 | 1 | -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 Josh | zhanyong.wan | 2011-03-05 | 1 | -6/+19 |
| | | | | Kelley. Simplified by Zhanyong Wan. | ||||
* | Fixes non-conforming uses of commas in enums s.t. the code compiles on | zhanyong.wan | 2011-03-05 | 2 | -3/+3 |
| | | | | Sun OS. Patch by Hady Zalek. | ||||
* | Fixes PrintUnprintableTypeTest.InGlobalNamespace in gtest-printers_test on ↵ | vladlosev | 2011-02-28 | 1 | -1/+1 |
| | | | | 64bit PowerPCs. | ||||
* | Indents preprocessor directives. | zhanyong.wan | 2011-02-22 | 11 | -141/+187 |
| | |||||
* | Fixes off-by-one error in a message about test sharding (by David Glasser). | vladlosev | 2011-02-12 | 1 | -1/+1 |
| | |||||
* | Updates an outdated error message. | vladlosev | 2011-02-10 | 1 | -5/+1 |
| | |||||
* | Adds null check for file locations in XML output printer. | vladlosev | 2011-02-02 | 1 | -0/+38 |
| | |||||
* | Add markers to death test messages to make them more recogizable (by Jeff ↵ | zhanyong.wan | 2011-02-02 | 1 | -3/+59 |
| | | | | Shute). | ||||
* | Removes unused include directive. | vladlosev | 2011-02-02 | 1 | -1/+0 |
| | |||||
* | Adds type_param and value_param as <testcase> attributes to the XML | zhanyong.wan | 2011-02-02 | 5 | -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. | vladlosev | 2011-01-29 | 1 | -7/+7 |
| | |||||
* | Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin). | zhanyong.wan | 2011-01-10 | 2 | -8/+11 |
| | |||||
* | Removes unused NC tests. | zhanyong.wan | 2011-01-07 | 2 | -349/+0 |
| | |||||
* | Suppresses self-assignment warnings. | zhanyong.wan | 2011-01-07 | 3 | -48/+51 |
| | |||||
* | Allows a value-parameterized test fixture to derive from Test and ↵ | zhanyong.wan | 2010-12-06 | 1 | -0/+33 |
| | | | | WithParamInterface<T> separately; contributed by Matt Austern. | ||||
* | Makes gtest print string literals correctly when it contains \x escape ↵ | zhanyong.wan | 2010-12-02 | 1 | -0/+24 |
| | | | | sequences. Contributed by Yair Chuchem. | ||||
* | Changes default of --gtest_catch_exceptions to true. | vladlosev | 2010-10-26 | 3 | -12/+11 |
| | |||||
* | Fixes compiler warning when built with -std=c++0x. | vladlosev | 2010-10-22 | 1 | -1/+8 |
| | |||||
* | Modifies handling of C++ exceptions in death tests to treat exceptions ↵ | vladlosev | 2010-10-18 | 2 | -2/+98 |
| | | | | escaping them as failures. | ||||
* | Makes gtest wokr on MinGW (by Vlad Losev); removes unused ↵ | zhanyong.wan | 2010-10-11 | 3 | -41/+57 |
| | | | | linked_ptr::release() method (by Zhanyong Wan). | ||||
* | Removes uses of deprecated AssertionFailure() API (by Vlad Losev). | zhanyong.wan | 2010-09-27 | 1 | -16/+11 |
| | |||||
* | Allows EXPECT_FATAL_FAILURE() and friends to accept a string object as the ↵ | zhanyong.wan | 2010-09-27 | 1 | -0/+23 |
| | | | | second argument. | ||||
* | Implements GTEST_ASSERT_XY as alias of ASSERT_XY. | zhanyong.wan | 2010-09-15 | 1 | -0/+35 |
| | |||||
* | Include gtest headers as user headers instead of system headers. | zhanyong.wan | 2010-09-14 | 43 | -70/+70 |
| |