summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* Renames some internal functions to avoid name clashes.vladlosev2011-01-29
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@535 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest print string literals correctly when it contains \x escape ↵zhanyong.wan2010-12-02
| | | | | | sequences. Contributed by Yair Chuchem. git-svn-id: http://googletest.googlecode.com/svn/trunk@525 861a406c-534a-0410-8894-cb66d6ee9925
* Adds Google Native Client compatibility (issue 329).vladlosev2010-11-30
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@524 861a406c-534a-0410-8894-cb66d6ee9925
* Changes default of --gtest_catch_exceptions to true.vladlosev2010-10-26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@504 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compiler warning when built with -std=c++0x.vladlosev2010-10-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@503 861a406c-534a-0410-8894-cb66d6ee9925
* Modifies handling of C++ exceptions in death tests to treat exceptions ↵vladlosev2010-10-18
| | | | | | escaping them as failures. git-svn-id: http://googletest.googlecode.com/svn/trunk@500 861a406c-534a-0410-8894-cb66d6ee9925
* Adds a missing #include (by Vlad Losev).zhanyong.wan2010-10-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@494 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest wokr on MinGW (by Vlad Losev); removes unused ↵zhanyong.wan2010-10-11
| | | | | | linked_ptr::release() method (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@492 861a406c-534a-0410-8894-cb66d6ee9925
* Removes uses of deprecated AssertionFailure() API (by Vlad Losev).zhanyong.wan2010-09-27
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@487 861a406c-534a-0410-8894-cb66d6ee9925
* Allows EXPECT_FATAL_FAILURE() and friends to accept a string object as the ↵zhanyong.wan2010-09-27
| | | | | | second argument. git-svn-id: http://googletest.googlecode.com/svn/trunk@485 861a406c-534a-0410-8894-cb66d6ee9925
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@482 861a406c-534a-0410-8894-cb66d6ee9925