summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Order the initializers correctly.kosak@google.com2015-07-271-2/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@743 861a406c-534a-0410-8894-cb66d6ee9925
* Inject GTEST_EXTRA_DEATH_TEST_CHILD_SETUPkosak@google.com2015-07-271-0/+5
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@742 861a406c-534a-0410-8894-cb66d6ee9925
* Inject the custom InitGoogleTest function using a macro.kosak@google.com2015-07-271-0/+8
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@741 861a406c-534a-0410-8894-cb66d6ee9925
* Inject GTEST_CUSTOM_TEST_EVENT_LISTENER_kosak@google.com2015-07-241-0/+5
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@739 861a406c-534a-0410-8894-cb66d6ee9925
* Inject GetArgvs() with a macro from custom/gtest-port.h.kosak@google.com2015-07-242-24/+15
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@738 861a406c-534a-0410-8894-cb66d6ee9925
* Inject GTEST_EXTRA_DEATH_TEST_COMMAND_LINE_ARGS_kosak@google.com2015-07-241-0/+6
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@737 861a406c-534a-0410-8894-cb66d6ee9925
* Inject implementation of *FromGTestEnv using macros.kosak@google.com2015-07-241-0/+9
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@734 861a406c-534a-0410-8894-cb66d6ee9925
* Add injection point for GTEST_KILLED_BY_SIGNAL_OVERRIDE.kosak@google.com2015-07-191-0/+8
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@733 861a406c-534a-0410-8894-cb66d6ee9925
* GTEST_USE_OWN_FLAGFILE supportkosak@google.com2015-07-191-0/+6
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@729 861a406c-534a-0410-8894-cb66d6ee9925
* Move stack trace logic into custom/ and add a macro to inject it.kosak@google.com2015-07-172-36/+24
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@728 861a406c-534a-0410-8894-cb66d6ee9925
* Determine the existence of hash_map/hash_set in gtest-port.h.kosak@google.com2015-07-171-1/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@727 861a406c-534a-0410-8894-cb66d6ee9925
* Implement GetThreadCount for Linux.kosak@google.com2015-07-171-4/+26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@726 861a406c-534a-0410-8894-cb66d6ee9925
* Add support for --gtest_flagfile.kosak@google.com2015-07-172-12/+18
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@725 861a406c-534a-0410-8894-cb66d6ee9925
* Add support for --gtest_flagfilekosak@google.com2015-07-174-90/+134
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@724 861a406c-534a-0410-8894-cb66d6ee9925
* Move the selection of the flag saver implementation into gtest-port.h andkosak@google.com2015-07-141-4/+5
| | | | | | | custom/gtest-port.h. git-svn-id: http://googletest.googlecode.com/svn/trunk@723 861a406c-534a-0410-8894-cb66d6ee9925
* Change GetDefaultFilter to allow for the injection of a custom filter.kosak@google.com2015-07-141-0/+6
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@721 861a406c-534a-0410-8894-cb66d6ee9925
* urxvt supports colorskosak@google.com2015-04-281-0/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@711 861a406c-534a-0410-8894-cb66d6ee9925
* Make an int64->double conversion explicit to silence -Wconversion.kosak@google.com2015-04-281-1/+1
| | | | | | | | Addresses issue #173: https://code.google.com/p/googlemock/issues/detail?id=173 git-svn-id: http://googletest.googlecode.com/svn/trunk@709 861a406c-534a-0410-8894-cb66d6ee9925
* Small Mingw localtime() fix.kosak@google.com2015-01-081-9/+18
| | | | | | | | Thanks tberghammer for pointing it out. https://codereview.appspot.com/185420043/ git-svn-id: http://googletest.googlecode.com/svn/trunk@702 861a406c-534a-0410-8894-cb66d6ee9925
* Change an example to use 'override' rather than 'virtual'. Add missing ↵kosak@google.com2015-01-081-0/+2
| | | | | | headers for 'connect' and 'socket'. git-svn-id: http://googletest.googlecode.com/svn/trunk@701 861a406c-534a-0410-8894-cb66d6ee9925
* Noop changes to suppress compile-time warnings in WINDOWS code paths.kosak@google.com2014-11-171-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@700 861a406c-534a-0410-8894-cb66d6ee9925
* Strip trailing whitespace when stringifying type lists.kosak@google.com2014-11-171-7/+15
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@698 861a406c-534a-0410-8894-cb66d6ee9925
* Mock out GetCurrentDir in NaCl.kosak@google.com2014-07-291-1/+8
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@692 861a406c-534a-0410-8894-cb66d6ee9925
* Expand equality failure messages with a by-line diff.kosak@google.com2014-07-281-0/+285
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@691 861a406c-534a-0410-8894-cb66d6ee9925
* Reduce the number of occurrences of gendered pronouns in gtest.kosak@google.com2014-06-185-14/+14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@689 861a406c-534a-0410-8894-cb66d6ee9925
* Disable asan instrumentation for StackGrowsDown().kosak@google.com2014-06-171-0/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@688 861a406c-534a-0410-8894-cb66d6ee9925
* Push upstream to SVN.billydonahue@google.com2014-05-153-32/+22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@686 861a406c-534a-0410-8894-cb66d6ee9925
* Implement threading support for gtest on Windows.kosak@google.com2014-03-243-45/+398
| | | | | | | Also, stop using localtime(). Instead, use localtime_r() on most systems, localtime_s() on Windows. git-svn-id: http://googletest.googlecode.com/svn/trunk@681 861a406c-534a-0410-8894-cb66d6ee9925
* Add annotations to suppress ThreadSanitizer failures due to gunit/gmock printer.kosak@google.com2014-03-121-0/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@680 861a406c-534a-0410-8894-cb66d6ee9925
* Standards compliance changes to fix QNX build.kosak@google.com2014-03-122-1/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@678 861a406c-534a-0410-8894-cb66d6ee9925
* Add GTEST_MOVE macro, to support mocking methods with move-only return types.kosak@google.com2014-01-291-0/+3
| | | | | | | Add GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ git-svn-id: http://googletest.googlecode.com/svn/trunk@676 861a406c-534a-0410-8894-cb66d6ee9925
* Add MemorySanitizer annotations in gtest printers. Also remove unused ↵kosak@google.com2013-12-032-2/+3
| | | | | | 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-061-3/+57
| | | | 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-181-1/+5
| | | | 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-252-12/+53
| | | | | | 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-241-2/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@653 861a406c-534a-0410-8894-cb66d6ee9925
* prints type/value parameters when listing testszhanyong.wan2013-04-101-5/+49
| | | | 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-052-112/+270
| | | | 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-111-1/+2
| | | | | | | | | 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.zhanyong.wan2013-02-281-2/+2
| | | | 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-282-0/+29
| | | | 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-282-19/+13
| | | | | | | 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-222-111/+154
| | | | 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-226-156/+131
| | | | | | 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-157-283/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-191-4/+18
| | | | 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-141-2/+2
| | | | 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-121-1/+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-091-1/+1
| | | | 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-072-62/+58
| | | | | | | char arrays are not escapped properly. git-svn-id: http://googletest.googlecode.com/svn/trunk@616 861a406c-534a-0410-8894-cb66d6ee9925