summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Add MemorySanitizer annotations in gtest printers. Also remove unused ↵kosak@google.com2013-12-03
| | | | | | variable kPathSeparatorString. git-svn-id: http://googletest.googlecode.com/svn/trunk@669 861a406c-534a-0410-8894-cb66d6ee9925
* supports a protocol for catching tests that prematurely exitzhanyong.wan2013-09-06
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@662 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with C++11: (1 - 1) is no longer a NULL pointer constant.zhanyong.wan2013-06-18
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@655 861a406c-534a-0410-8894-cb66d6ee9925
* When --gtest_filter is specified, XML report now doesn't contain information ↵vladlosev2013-04-25
| | | | | | about tests that are filtered out (issue 141). git-svn-id: http://googletest.googlecode.com/svn/trunk@654 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes a thread annotation; updates CHANGES for 1.7.0zhanyong.wan2013-04-24
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@653 861a406c-534a-0410-8894-cb66d6ee9925
* prints type/value parameters when listing testszhanyong.wan2013-04-10
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@652 861a406c-534a-0410-8894-cb66d6ee9925
* Implements support for calling Test::RecordProperty() outside of a test.vladlosev2013-04-05
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@648 861a406c-534a-0410-8894-cb66d6ee9925
* Supports colored output on term type screen-256color.zhanyong.wan2013-03-11
| | | | | | | | | Proposed as a one-line patch by Tom Jakubowski (tom@crystae.net); finished by Zhanyong Wan. git-svn-id: http://googletest.googlecode.com/svn/trunk@644 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes unused function warning on Mac, and fixes compatibility with newer GCC.gtest-embtk-1.1.0zhanyong.wan2013-02-28
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@643 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes a nasty issue in gtest's template instantiation.zhanyong.wan2013-02-28
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@642 861a406c-534a-0410-8894-cb66d6ee9925
* Removes an unused variable; also refactors to support an up-comingzhanyong.wan2013-02-28
| | | | | | | googlemock change. git-svn-id: http://googletest.googlecode.com/svn/trunk@640 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes gUnit streaming output format.kosak@google.com2013-02-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@637 861a406c-534a-0410-8894-cb66d6ee9925
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak@google.com2013-02-22
| | | | | | truncates the result at 4096 chars. Also update an obsolete link in comment. git-svn-id: http://googletest.googlecode.com/svn/trunk@636 861a406c-534a-0410-8894-cb66d6ee9925
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm@google.com2012-11-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. git-svn-id: http://googletest.googlecode.com/svn/trunk@628 861a406c-534a-0410-8894-cb66d6ee9925
* Improves Android support (by David Turner).vladlosev2012-09-19
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@625 861a406c-534a-0410-8894-cb66d6ee9925
* Fixed Native Client build of gtest when using glibc (by Ben Smith).vladlosev2012-08-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@621 861a406c-534a-0410-8894-cb66d6ee9925
* fixes a problem in which we pass the address one byte ↵jgm@google.com2012-07-12
| | | | | | | | | | ~/svn/googletest/trunk after the end of stack space in a call to clone(). According to Linux's man page on clone(), the 'stack' parameter usually points to the topmost address of the memory space set up for the child stack. The existing code points one byte after the end git-svn-id: http://googletest.googlecode.com/svn/trunk@618 861a406c-534a-0410-8894-cb66d6ee9925
* added defines for iOSjgm@google.com2012-07-09
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@617 861a406c-534a-0410-8894-cb66d6ee9925
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-07
| | | | | | | char arrays are not escapped properly. git-svn-id: http://googletest.googlecode.com/svn/trunk@616 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes threading annotations and compatibility with C++11, which doesn'tzhanyong.wan2012-05-31
| | | | | | | | allow exepctions to be thrown in a destructor. git-svn-id: http://googletest.googlecode.com/svn/trunk@615 861a406c-534a-0410-8894-cb66d6ee9925
* Misc small updates to some debug death code, and to messages streaming to macrosjgm@google.com2012-03-09
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@612 861a406c-534a-0410-8894-cb66d6ee9925
* Adds file and line information to the "message", which is used as the summaryjgm@google.com2012-01-17
| | | | | | | of a failure. git-svn-id: http://googletest.googlecode.com/svn/trunk@609 861a406c-534a-0410-8894-cb66d6ee9925
* Removes spurious semicolon.vladlosev2011-11-28
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@608 861a406c-534a-0410-8894-cb66d6ee9925
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-04
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@607 861a406c-534a-0410-8894-cb66d6ee9925
* Adds support for detection of running in death test child processes.vladlosev2011-10-28
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@606 861a406c-534a-0410-8894-cb66d6ee9925
* Expressed the thread-safety annotations in code, replacing the existing ↵vladlosev2011-10-24
| | | | | | comment-based system (by Aaron Jacobs). git-svn-id: http://googletest.googlecode.com/svn/trunk@604 861a406c-534a-0410-8894-cb66d6ee9925
* Implements the timestamp attribute for the testsuites element in the output ↵vladlosev2011-10-05
| | | | | | XML (external contribution by Dirk Meister). git-svn-id: http://googletest.googlecode.com/svn/trunk@600 861a406c-534a-0410-8894-cb66d6ee9925
* Adds ability to inject death test child arguments for test purposes.vladlosev2011-10-05
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@599 861a406c-534a-0410-8894-cb66d6ee9925
* Adds a new macro simplifying use of snprinf on MS platforms.vladlosev2011-09-26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@597 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies the implementatoin of the test result printer; by Ulfar Erlingssonzhanyong.wan2011-09-16
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@595 861a406c-534a-0410-8894-cb66d6ee9925
* Ignore SIGPROF signal during clone()/fork() call. clone()/fork() call hangs ↵vladlosev2011-09-09
| | | | | | permanently if it consumes more cpu than the SIGPROF signal timer interval (by Nabeel Mian). git-svn-id: http://googletest.googlecode.com/svn/trunk@592 861a406c-534a-0410-8894-cb66d6ee9925
* QNX compatibility patch (by Haruka Iwao).vladlosev2011-06-20
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@586 861a406c-534a-0410-8894-cb66d6ee9925
* Suppresses the tail-call optimization of StackGrowsDown() in GCC4.6 (by Paul ↵vladlosev2011-06-13
| | | | | | Pluzhnikov). git-svn-id: http://googletest.googlecode.com/svn/trunk@585 861a406c-534a-0410-8894-cb66d6ee9925
* Adds support for building Google Mock as a shared library (DLL).vladlosev2011-05-20
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@583 861a406c-534a-0410-8894-cb66d6ee9925
* fixes a problem caused by gcc 4.6 optimization (by Paul Pluzhnikov)zhanyong.wan2011-04-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@571 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes Sun C++ compiler errors (by Pasi Valminen)zhanyong.wan2011-04-12
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@569 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies ASCII character detection in gtest-printers.h. This also makes it ↵vladlosev2011-04-09
| | | | | | possible to build Google Test on MinGW. git-svn-id: http://googletest.googlecode.com/svn/trunk@567 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes a compiler error when compiling with Visual Age (by Hady Zalek).vladlosev2011-04-08
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@565 861a406c-534a-0410-8894-cb66d6ee9925
* makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the ↵zhanyong.wan2011-04-07
| | | | | | name of xlC (by Hady Zalek). git-svn-id: http://googletest.googlecode.com/svn/trunk@563 861a406c-534a-0410-8894-cb66d6ee9925
* Changes diagnostic output of the question mark from '\?' to '?'.vladlosev2011-04-01
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@560 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes Windows CE compatibility problem (issue ↵vladlosev2011-03-30
| | | | | | http://code.google.com/p/googletest/issues/detail?id=362). git-svn-id: http://googletest.googlecode.com/svn/trunk@559 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes 'formatting error or buffer exceeded' error when outputting long ↵vladlosev2011-03-30
| | | | | | failure messages in XML. git-svn-id: http://googletest.googlecode.com/svn/trunk@558 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Sun C++ (by Hady Zalek); fixes compatibilityzhanyong.wan2011-03-11
| | | | | | | with Android (by Zachary Vorhies). git-svn-id: http://googletest.googlecode.com/svn/trunk@555 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Borland C++Builder. Original patch by Joshzhanyong.wan2011-03-05
| | | | | | | Kelley. Simplified by Zhanyong Wan. git-svn-id: http://googletest.googlecode.com/svn/trunk@553 861a406c-534a-0410-8894-cb66d6ee9925
* Indents preprocessor directives.zhanyong.wan2011-02-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@544 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes off-by-one error in a message about test sharding (by David Glasser).vladlosev2011-02-12
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@543 861a406c-534a-0410-8894-cb66d6ee9925
* Adds null check for file locations in XML output printer.vladlosev2011-02-02
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@540 861a406c-534a-0410-8894-cb66d6ee9925
* Add markers to death test messages to make them more recogizable (by Jeff ↵zhanyong.wan2011-02-02
| | | | | | Shute). git-svn-id: http://googletest.googlecode.com/svn/trunk@539 861a406c-534a-0410-8894-cb66d6ee9925
* Adds type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-02
| | | | | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev. git-svn-id: http://googletest.googlecode.com/svn/trunk@537 861a406c-534a-0410-8894-cb66d6ee9925
* template selection error in IBM's xIC_r compiler.vladlosev2011-01-29
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@536 861a406c-534a-0410-8894-cb66d6ee9925