Commit Graph

  • a6340420b9 Implement threading support for gtest on Windows. Also, stop using localtime(). Instead, use localtime_r() on most systems, localtime_s() on Windows. kosak 2014-03-24 21:58:25 +0000
  • c26f969579 Make the gmock generator work with the 'override' keyword. Also pull in gtest 680. kosak 2014-03-12 23:27:35 +0000
  • ffea2d6040 Add annotations to suppress ThreadSanitizer failures due to gunit/gmock printer. kosak 2014-03-12 22:55:56 +0000
  • c82282819c Remove code referencing Google protocol buffers version 1. kosak 2014-03-12 22:51:07 +0000
  • b6a348862b Introduce a BeginEndDistanceIs matcher for containers such as std::forward_list which lack a size() member. kosak 2014-03-12 21:06:46 +0000
  • 134389c044 Standards compliance changes to fix QNX build. kosak 2014-03-12 21:03:35 +0000
  • fc4aa1d718 Suppress "Conditional expression is constant" warning on Visual Studio. kosak 2014-01-29 07:30:13 +0000
  • 41a8bc67ab Suppress "Conditional expression is constant" warning on Visual Studio. kosak 2014-01-29 07:29:19 +0000
  • b5c81098a8 Support mocking methods with move-only return types. kosak 2014-01-29 06:41:44 +0000
  • 35956659ea Add GTEST_MOVE macro, to support mocking methods with move-only return types. Add GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ kosak 2014-01-29 06:34:44 +0000
  • b93d0f10d5 Make Google Mock build cleanly on Visual Studio 2010, 2012, 2013. kosak 2014-01-13 22:28:01 +0000
  • 7d1051ce2b Make Google Test build cleanly on Visual Studio 2010, 2012, 2013. Also improve an error message in gtest_test_utils.py. kosak 2014-01-13 22:24:15 +0000
  • 04ce8521f4 Adds a note in the "uninteresting mock method call" warning to advise people how to handle the warning. Clarifies the purpose of utilities in gmock-port.h and adds guidance w.r.t. gmock-port.h vs gtest-port.h. Pulls in gtest r674. kosak 2014-01-12 23:42:34 +0000
  • 6576c64903 Fix a couple of typos in Google Test's README. kosak 2014-01-12 23:29:39 +0000
  • ccf8e33bc5 Define specialization of PrintTo(...) for ::std::tuple. kosak 2014-01-12 19:59:41 +0000
  • d3eb97f321 Improves documentation on gtest's macros. Adds script to automate releasing new version of wiki docs. kosak 2014-01-12 18:51:09 +0000
  • 18489fa4f8 Distinguish between C++11 language and library support for <initializer_list>. Fix spelling: repositary -> repository. Pull in gtest 671. kosak 2013-12-04 23:49:07 +0000
  • 4f7018ed61 Distinguish between C++11 language and library support for <initializer_list>. Fix spelling: repositary -> repository. kosak 2013-12-04 23:44:22 +0000
  • 6414d806cd Fix warnings encountered with clang -Wall, and pull in gtest 670. kosak 2013-12-03 23:19:36 +0000
  • 5d83ee08df Fix warnings encountered with clang -Wall. kosak 2013-12-03 23:15:40 +0000
  • b72d18ca55 Clarify the rationale for gmock_all_test.cc, and pull in gtest 669 kosak 2013-12-03 22:46:51 +0000
  • 37b97d1c93 Add MemorySanitizer annotations in gtest printers. Also remove unused variable kPathSeparatorString. kosak 2013-12-03 22:38:22 +0000
  • 5f2a6ca4fd Don't copy the argument in SafeMatcherCast because it's not safe. kosak 2013-12-03 01:43:07 +0000
  • aa34ae2508 Delete whitespace, and change the return type of ImplicitlyConvertible::MakeFrom() to From&. kosak 2013-12-03 01:36:29 +0000
  • 88080ee943 adds gmock_doctor.py to the distro zhanyong.wan 2013-11-21 18:38:42 +0000
  • 35877b7967 avoids clash with the max() macro on Windows zhanyong.wan 2013-09-18 17:51:08 +0000
  • 2d3543f81d avoids clash with the max() macro on Windows zhanyong.wan 2013-09-18 17:49:56 +0000
  • 6e0fba4de0 fixes the bug reported by Andrzej Jarzabek where 2 gmock tests fail when built with VS zhanyong.wan 2013-09-16 05:50:53 +0000
  • 45fef502fa makes googlemock generator handle some class templates; pulls in gtest r662 zhanyong.wan 2013-09-06 22:52:14 +0000
  • c306ef2e14 supports a protocol for catching tests that prematurely exit zhanyong.wan 2013-09-06 22:50:25 +0000
  • 778358e3f1 adds more files to gmock's distro zhanyong.wan 2013-08-27 21:31:58 +0000
  • 35da814a99 fixes a typo zhanyong.wan 2013-08-27 21:04:16 +0000
  • 64bd62daf2 adds gmock-more-matchers.h to the distro zhanyong.wan 2013-08-27 20:56:21 +0000
  • 492986a5d0 Updates gtest.xcodeproj to be compatible with OS X 10.8.4 & Xcode 4.6.3 zhanyong.wan 2013-08-27 20:09:54 +0000
  • 1cc1d4bcec Makes some container matchers accept initializer lists in C++11 mode and work with stream-like containers that don't have size() or empty(); exposes StringMatchResultListener for defining composite matchers. zhanyong.wan 2013-08-08 18:41:51 +0000
  • 5579c1a8b1 Makes UnorderedElementsAre*() work with containers that don't have size() or empty(). zhanyong.wan 2013-07-30 06:16:21 +0000
  • fb25d53911 Adds matchers UnorderedElementsAre[Array]() (by Billy Donahue); pulls in gtest r660. zhanyong.wan 2013-07-28 08:24:00 +0000
  • 9ba29fae92 fixes a typo in CMake script; h/t to Jay Mueller for reporting the issue zhanyong.wan 2013-07-09 04:45:37 +0000
  • 665faa1622 allows gtest-config.in to work with an absoulte path for @top_srcdir@. h/t to Jimi Xenidis for reporting the issue and the fix. zhanyong.wan 2013-07-08 05:51:32 +0000
  • 81ddb8434f makes gtest-death-test_test.cc compile on platforms that don't support death tests; h/t to Steve Robbins for reporting the issue and suggesting the fix. zhanyong.wan 2013-07-08 04:40:28 +0000
  • 2989703ed8 Fixes uses of pair to std::pair; pulls in gtest r655. zhanyong.wan 2013-06-20 18:59:15 +0000
  • 616180e684 New floating-point matchers: DoubleNear() and friends; AllOf() and AnyOf() can accept any number of arguments now in C++11 mode. zhanyong.wan 2013-06-18 18:49:51 +0000
  • 48568d0688 Fixes compatibility with C++11: (1 - 1) is no longer a NULL pointer constant. zhanyong.wan 2013-06-18 18:44:25 +0000
  • c506784b08 When --gtest_filter is specified, XML report now doesn't contain information about tests that are filtered out (issue 141). vladlosev 2013-04-25 17:58:52 +0000
  • f4274520da Makes EXPECT_THAT typesafe; updates CHANGES for 1.7.0; pulls in gtest r653 zhanyong.wan 2013-04-24 02:49:43 +0000
  • c84afbeaf1 Fixes a thread annotation; updates CHANGES for 1.7.0 zhanyong.wan 2013-04-24 02:48:07 +0000
  • 0fac83390a prints type/value parameters when listing tests zhanyong.wan 2013-04-10 04:29:33 +0000
  • 061f1d4d16 Updates version number to 1.7.0 zhanyong.wan 2013-04-07 03:16:38 +0000
  • c97e3001cd Updates the version number to 1.7.0 zhanyong.wan 2013-04-07 03:15:36 +0000
  • f5fa71f728 Implements support for calling Test::RecordProperty() outside of a test. vladlosev 2013-04-05 20:50:46 +0000
  • c10a35a26a Fixes some compatibility issues with STLport. zhanyong.wan 2013-04-04 22:45:59 +0000
  • 5f18b68bfc Fixes some compatibility issues with STLport. zhanyong.wan 2013-04-04 22:44:57 +0000
  • a9a59e06dd Makes WhenSorted() support associative containers (by billydonahue@google.com). zhanyong.wan 2013-03-27 16:14:55 +0000
  • 1f122a06e6 Adds special support for matching StringPiece. Pulls in gtest r646. zhanyong.wan 2013-03-25 16:27:03 +0000
  • c08ec2a768 Replaces unportable == with portable = in configure.ac. Contributed by tk@giga.or.at. zhanyong.wan 2013-03-19 00:04:54 +0000
  • 1edbcbad73 Prints a useful message when GetParam() is called in a non-parameterized test. zhanyong.wan 2013-03-12 21:17:22 +0000
  • 6b7a167dca Supports colored output on term type screen-256color. zhanyong.wan 2013-03-11 17:52:13 +0000
  • 2eab17b76d Removes an unnecessary semi-colon, which causes a warning in GCC's pedantic mode. zhanyong.wan 2013-03-08 17:53:24 +0000
  • a1a98f840e Adds a cmake target for gmock_ex_test; also fixes name shadowing warnings. zhanyong.wan 2013-03-01 21:28:40 +0000
  • c896504e41 Improves the tests for nice, naggy, and strict mocks. zhanyong.wan 2013-03-01 07:10:07 +0000
  • 20d1a235bc Allows the return type of a mock method to contain unprotected commas. zhanyong.wan 2013-03-01 06:58:38 +0000
  • 29be92385e Removes unused variables and functions. zhanyong.wan 2013-03-01 06:53:35 +0000
  • 844fa94976 Implements NaggyMock. zhanyong.wan 2013-03-01 01:54:22 +0000
  • a31d9ce290 Implements matcher SizeIs(). zhanyong.wan 2013-03-01 01:50:17 +0000
  • 83f6b08b5f Clarifies how to implement MatcherInterface. zhanyong.wan 2013-03-01 01:47:35 +0000
  • 320814aca0 Implements matcher IsEmpty(); also pulls in gtest r643. zhanyong.wan 2013-03-01 00:20:30 +0000
  • fc01f532a6 Fixes unused function warning on Mac, and fixes compatibility with newer GCC. zhanyong.wan 2013-02-28 23:52:42 +0000
  • 6a036a5c8c Fixes a nasty issue in gtest's template instantiation. zhanyong.wan 2013-02-28 23:46:07 +0000
  • b3ed14ac17 Implements RUN_ALL_TESTS() as a function. zhanyong.wan 2013-02-28 23:29:06 +0000
  • edd4ab4945 Makes googlemock throw a runtime_error instead of abort when a mock method with no default value is invoked (if exceptions are enabled). zhanyong.wan 2013-02-28 22:58:51 +0000
  • 1b89db9705 Removes an unused variable; also refactors to support an up-coming googlemock change. zhanyong.wan 2013-02-28 22:55:25 +0000
  • 88fe90793c Removes dangling references in make/cmake files. zhanyong.wan 2013-02-27 18:51:27 +0000
  • cf40604cf0 Adds -pthread and switches -I to -isystem in build instructions; also pulls in the latest gtest revision (r638). zhanyong.wan 2013-02-27 17:53:45 +0000
  • b854938bd0 Adds -pthread and changes -I to -isystem in gtest's build instructions. zhanyong.wan 2013-02-27 17:49:18 +0000
  • ba072ccca4 Fixes gUnit streaming output format. kosak 2013-02-22 20:25:42 +0000
  • cc1fdb58ca Removes testing::internal::String::Format(), which causes problems as it truncates the result at 4096 chars. Also update an obsolete link in comment. kosak 2013-02-22 20:10:40 +0000
  • 65b5c22436 Fixes an out-dated URL. zhanyong.wan 2013-02-02 18:45:13 +0000
  • 40fa8ffc9e Adds the LICENSE file to the distribution. vladlosev 2013-01-31 19:53:54 +0000
  • d367343685 Adds the LICENSE file to the distribution. vladlosev 2013-01-29 20:34:47 +0000
  • 268ba61815 Unbreak building gtest with -std=c++11 on Mac OS X 10.6. Also, better support for death tests in iOS simulator. jgm 2012-12-03 18:52:06 +0000
  • 38513a8bb1 Unfortunately, the svn repo is a bit out of date. This commit contains 8 changes that haven't made it to svn. The descriptions of each change are listed below. jgm 2012-11-15 15:50:36 +0000
  • 87fdda2cf2 Unfortunately, the svn repo is a bit out of date. This commit contains 8 changes that haven't made it to svn. The descriptions of each change are listed below. jgm 2012-11-15 15:47:38 +0000
  • 78bf6d5724 Improves Android support (by David Turner). vladlosev 2012-09-19 17:58:01 +0000
  • b535c1767e Removes obsolete debug code. vladlosev 2012-09-06 17:09:27 +0000
  • ff8d732cef Fixes gtest-tuple.h in Visual C++ 7.1. vladlosev 2012-09-06 16:41:18 +0000
  • ada23475e2 Makes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin). vladlosev 2012-08-14 15:38:49 +0000
  • 2147489625 Fixed Native Client build of gtest when using glibc (by Ben Smith). vladlosev 2012-08-14 15:20:28 +0000
  • 1f7bb45e07 Prevents pump.py from splitting long IWYU pragma lines. vladlosev 2012-08-14 15:20:01 +0000
  • 4c97512141 fixes a problem in which we pass the address one byte ~/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 jgm 2012-07-12 16:46:50 +0000
  • a1c4b46bc2 added defines for iOS jgm 2012-07-09 13:22:29 +0000
  • a88c9a88e4 Improves gtest's failure messages. In particulars, char pointers and char arrays are not escapped properly. zhanyong.wan 2012-06-07 20:34:34 +0000
  • 2fd619edd3 Pulls in gtest r615. zhanyong.wan 2012-05-31 20:40:56 +0000
  • a3b859162d Fixes threading annotations and compatibility with C++11, which doesn't allow exepctions to be thrown in a destructor. zhanyong.wan 2012-05-31 20:37:13 +0000
  • cdb24f86d5 Teach gtest to autodetect rtti support with clang (by Nico Weber). vladlosev 2012-05-02 18:09:59 +0000
  • 79a367eb21 Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes. jgm 2012-04-10 16:02:11 +0000
  • 9a56024c9a Added support for platforms where pthread_t is a struct rather than an integral type. jgm 2012-04-02 17:41:03 +0000
  • f0b86fc3b0 Misc small updates to some debug death code, and to messages streaming to macros jgm 2012-03-09 17:12:39 +0000
  • cfb40870bc Locking for Notification class. jgm 2012-01-27 21:26:58 +0000
  • 4d6f296e8e Adds file and line information to the "message", which is used as the summary of a failure. jgm 2012-01-17 15:11:32 +0000
  • 69a071bc0d Removes spurious semicolon. vladlosev 2011-11-28 19:52:07 +0000