Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unfortunately, the svn repo is a bit out of date. This commit contains 8 | jgm | 2012-11-15 | 1 | -192/+120 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | added defines for iOS | jgm | 2012-07-09 | 1 | -1/+1 |
| | |||||
* | Improves gtest's failure messages. In particulars, char pointers and | zhanyong.wan | 2012-06-07 | 1 | -28/+8 |
| | | | | char arrays are not escapped properly. | ||||
* | Fixes threading annotations and compatibility with C++11, which doesn't | zhanyong.wan | 2012-05-31 | 1 | -2/+2 |
| | | | | | allow exepctions to be thrown in a destructor. | ||||
* | Adds file and line information to the "message", which is used as the summary | jgm | 2012-01-17 | 1 | -7/+8 |
| | | | | of a failure. | ||||
* | Improves conformance to the Google C++ Style Guide (by Greg Miller). | vladlosev | 2011-11-04 | 1 | -2/+0 |
| | |||||
* | Expressed the thread-safety annotations in code, replacing the existing ↵ | vladlosev | 2011-10-24 | 1 | -25/+26 |
| | | | | comment-based system (by Aaron Jacobs). | ||||
* | Implements the timestamp attribute for the testsuites element in the output ↵ | vladlosev | 2011-10-05 | 1 | -1/+37 |
| | | | | XML (external contribution by Dirk Meister). | ||||
* | Simplifies the implementatoin of the test result printer; by Ulfar Erlingsson | zhanyong.wan | 2011-09-16 | 1 | -8/+4 |
| | |||||
* | Adds support for building Google Mock as a shared library (DLL). | vladlosev | 2011-05-20 | 1 | -2/+2 |
| | |||||
* | makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the ↵ | zhanyong.wan | 2011-04-07 | 1 | -1/+1 |
| | | | | name of xlC (by Hady Zalek). | ||||
* | Fixes 'formatting error or buffer exceeded' error when outputting long ↵ | vladlosev | 2011-03-30 | 1 | -17/+13 |
| | | | | failure messages in XML. | ||||
* | Fixes compatibility with Sun C++ (by Hady Zalek); fixes compatibility | zhanyong.wan | 2011-03-11 | 1 | -3/+3 |
| | | | | with Android (by Zachary Vorhies). | ||||
* | Fixes compatibility with Borland C++Builder. Original patch by Josh | zhanyong.wan | 2011-03-05 | 1 | -1/+1 |
| | | | | Kelley. Simplified by Zhanyong Wan. | ||||
* | Indents preprocessor directives. | zhanyong.wan | 2011-02-22 | 1 | -53/+68 |
| | |||||
* | Fixes off-by-one error in a message about test sharding (by David Glasser). | vladlosev | 2011-02-12 | 1 | -2/+3 |
| | |||||
* | Adds null check for file locations in XML output printer. | vladlosev | 2011-02-02 | 1 | -2/+3 |
| | |||||
* | Adds type_param and value_param as <testcase> attributes to the XML | zhanyong.wan | 2011-02-02 | 1 | -26/+47 |
| | | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev. | ||||
* | template selection error in IBM's xIC_r compiler. | vladlosev | 2011-01-29 | 1 | -10/+16 |
| | |||||
* | Changes default of --gtest_catch_exceptions to true. | vladlosev | 2010-10-26 | 1 | -3/+4 |
| | |||||
* | Fixes compiler warning when built with -std=c++0x. | vladlosev | 2010-10-22 | 1 | -2/+2 |
| | |||||
* | Removes uses of deprecated AssertionFailure() API (by Vlad Losev). | zhanyong.wan | 2010-09-27 | 1 | -42/+28 |
| | |||||
* | Allows EXPECT_FATAL_FAILURE() and friends to accept a string object as the ↵ | zhanyong.wan | 2010-09-27 | 1 | -4/+4 |
| | | | | second argument. | ||||
* | Include gtest headers as user headers instead of system headers. | zhanyong.wan | 2010-09-14 | 1 | -2/+2 |
| | |||||
* | Removes all uses of StrStream; fixes the VC projects and simplifies them by ↵ | zhanyong.wan | 2010-09-08 | 1 | -12/+12 |
| | | | | using gtest-all.cc. | ||||
* | Casts char to unsigned char before calling isspace() etc to avoid undefined ↵ | zhanyong.wan | 2010-08-31 | 1 | -32/+61 |
| | | | | 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.wan | 2010-08-19 | 1 | -16/+232 |
| | | | | streaming (by Nikhil Jindal and cleaned up by Zhanyong Wan). | ||||
* | Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵ | zhanyong.wan | 2010-08-09 | 1 | -237/+189 |
| | | | | improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev). | ||||
* | Allows EXPECT_EQ to accept arguments that don't have operator << (by ↵ | zhanyong.wan | 2010-07-21 | 1 | -42/+0 |
| | | | | | | | 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 warnings when built by GCC with -Wswitch-default. Original patch by ↵ | vladlosev | 2010-07-14 | 1 | -2/+2 |
| | | | | Zhixu Liu (zhixu.liu@gmail.com). | ||||
* | Makes gtest_break_on_failure_unittest work on minGW (by vladl); improves | zhanyong.wan | 2010-07-08 | 1 | -1/+5 |
| | | | | the NULL-dereferencing hack to work with LLVM (by chandlerc). | ||||
* | Makes gtest report failures in ad hoc test assertions executed before ↵ | zhanyong.wan | 2010-06-16 | 1 | -1/+3 |
| | | | | RUN_ALL_TESTS(). | ||||
* | Implements printing parameters of failed parameterized tests (issue 71). | vladlosev | 2010-05-18 | 1 | -14/+19 |
| | |||||
* | Implements color output in GNU Screen sessions (issue 277). | vladlosev | 2010-04-22 | 1 | -0/+1 |
| | |||||
* | Enables death tests on AIX, by Hady Zalek. | zhanyong.wan | 2010-03-23 | 1 | -0/+4 |
| | |||||
* | Fixes MSVC warnings in 64-bit mode. | zhanyong.wan | 2010-02-25 | 1 | -10/+11 |
| | |||||
* | Simplifies the implementation by using std::vector instead of Vector. | zhanyong.wan | 2010-02-25 | 1 | -91/+95 |
| | |||||
* | Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵ | zhanyong.wan | 2010-02-24 | 1 | -1/+1 |
| | | | | Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth). | ||||
* | Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes ↵ | zhanyong.wan | 2010-01-28 | 1 | -3/+5 |
| | | | | unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek). | ||||
* | Implements stdout capturing (by Vlad Losev); fixes compiler error on NVCC ↵ | zhanyong.wan | 2010-01-27 | 1 | -0/+3 |
| | | | | (by Zhanyong Wan). | ||||
* | Changes Message() to print double with enough precision by default. | zhanyong.wan | 2010-01-08 | 1 | -10/+8 |
| | |||||
* | Removes uses of GTEST_HAS_STD_STRING. | zhanyong.wan | 2009-12-16 | 1 | -14/+0 |
| | |||||
* | Turns on -Wshadow (by Preston Jackson). | zhanyong.wan | 2009-12-16 | 1 | -21/+22 |
| | |||||
* | Exposes SkipPrefix s.t. it can be used by gmock (by Vlad Losev). | zhanyong.wan | 2009-12-01 | 1 | -12/+12 |
| | |||||
* | Prevents Google Test from printing help message upon seeing the ↵ | vladlosev | 2009-11-17 | 1 | -5/+7 |
| | | | | --gtest_stack_trace_depth flag. This was breaking gmock_output_test. | ||||
* | Fixes linker error when used with gMock on Windows | vladlosev | 2009-10-23 | 1 | -3/+3 |
| | |||||
* | Prints help when encountering unrecognized Google Test flags. | vladlosev | 2009-10-22 | 1 | -1/+31 |
| | |||||
* | Implements support for AssertionResult in Boolean assertions such as ↵ | vladlosev | 2009-10-20 | 1 | -5/+35 |
| | | | | 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. | ||||
* | Fixes: Scons build file broken when used in another SConstruct; warning in ↵ | vladlosev | 2009-10-14 | 1 | -1/+2 |
| | | | | VC 8.0 when compiled with /Wp64 | ||||
* | Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original ↵ | zhanyong.wan | 2009-09-30 | 1 | -15/+91 |
| | | | | | | patch). Enables death tests on minGW (by Vlad Losev). |