Commit Graph

  • 2534ae201e Adds a Random class to support --gtest_shuffle (by Josh Kelley); Makes the scons script build in a deterministic order (by Zhanyong Wan). zhanyong.wan 2009-09-21 19:42:03 +0000
  • bbd6e105e7 Picks up gtest r314. zhanyong.wan 2009-09-18 18:17:19 +0000
  • e5373af0cb Renames the TestPartResult type enums and adjusts the order of methods in the event listener interface (by Vlad Losev). zhanyong.wan 2009-09-18 18:16:20 +0000
  • 9f894c2b36 Makes gtest compile cleanly with MSVC's warning 4511 & 4512 (copy ctor / assignment operator cannot be generated) enabled. zhanyong.wan 2009-09-18 16:35:15 +0000
  • f43e4ff3ad Renames the methods in the event listener API, and changes the order of *End events (by Vlad Losev). zhanyong.wan 2009-09-17 19:12:30 +0000
  • 93244dc369 Disbles two tests that crash on Symbian. zhanyong.wan 2009-09-17 19:11:00 +0000
  • 12d740faef Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) enabled. zhanyong.wan 2009-09-17 05:04:08 +0000
  • f07dc6b1b1 Fixes line-ending in the new -md VC projects. zhanyong.wan 2009-09-16 21:38:13 +0000
  • 4bd79e4f25 Simplifies the definition of NativeArray. Works around a VC bug in StrictMock & NiceMock. zhanyong.wan 2009-09-16 17:38:08 +0000
  • 302a41c90b Small code simplification (by Vlad Losev). zhanyong.wan 2009-09-16 17:36:39 +0000
  • f5e1ce5b92 Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad Losev). zhanyong.wan 2009-09-16 07:02:02 +0000
  • 866f4a9446 Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renames GTEST_HIDE_UNREACHABLE_CODE_ to GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ (by Vlad Losev). zhanyong.wan 2009-09-16 06:59:17 +0000
  • c53b3dca1b Removes dead code in gmock-more-actions_test.cc. zhanyong.wan 2009-09-12 06:46:26 +0000
  • 04d6ed817e Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. zhanyong.wan 2009-09-11 07:01:08 +0000
  • b2ee82ebf9 Improves EXPECT_DEATH_IF_SUPPORTED to allow streaming of messages and enforcing the validity of arguments (by Vlad Losev); adds samples for the event listener API (by Vlad Losev); simplifies the tests using EXPECT_DEATH_IF_SUPPORTED (by Zhanyong Wan). zhanyong.wan 2009-09-11 06:59:42 +0000
  • f6dd67a155 Adjusts VC projects' output directories such that the output files don't step on each other. zhanyong.wan 2009-09-11 06:02:00 +0000
  • b8c172f6c3 Really removes unneeded VC projects. zhanyong.wan 2009-09-11 05:42:49 +0000
  • bcaf6f542f Removes deprecated /Wp64 flag from VC projects; also removes unneeded VC projects. zhanyong.wan 2009-09-11 05:41:41 +0000
  • d6ffd13698 Adds gmock-more-actions.h to the distribution ('make distcheck' passes). zhanyong.wan 2009-09-08 17:15:49 +0000
  • 16e9dd6e28 More implementation of the event listener interface (by Vlad Losev); Reduces the stack space usage of assertions by moving AssertHelper's fields to the heap (by Jorg Brown); Makes String faster, smaller, and simpler (by Zhanyong Wan); Fixes a bug in String::Format() (by Chandler); Adds the /MD version of VC projects to the distribution (by Vlad Losev). zhanyong.wan 2009-09-04 18:30:25 +0000
  • 5bc7cfe817 Updates CHANGES. zhanyong.wan 2009-09-04 18:10:53 +0000
  • 46642857b1 Depends on gtest r300, which allows String to contain NUL. zhanyong.wan 2009-09-01 19:10:50 +0000
  • 56a2e686e9 Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad Losev). zhanyong.wan 2009-09-01 18:53:56 +0000
  • 2b43a9ecd1 Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); Enables gMock to compile with VC 7.1 (by Vlad Losev). zhanyong.wan 2009-08-31 23:51:23 +0000
  • cb2b1640b2 Updating for Snow Leopard. Cleaning up the sample code. Updating the README with instructions for installation from the command line. preston.a.jackson 2009-08-28 22:11:18 +0000
  • b5936af65c Adds /MD(d) versions of VC++ projects. vladlosev 2009-08-28 19:11:47 +0000
  • 1da9ceefa5 Fixes an uninitialized field in class OsStackTraceGetter. zhanyong.wan 2009-08-26 17:44:38 +0000
  • 6149876141 Cleaning up gtest.xcode. Removing old tests, using gtest-all.cc, adding a static libgtest.a and a static libgtest_main.a, fixing the sample code to work with changes. preston.a.jackson 2009-08-21 14:00:34 +0000
  • 0ea67f88ae Improves protobuf print format. zhanyong.wan 2009-08-14 04:50:02 +0000
  • 888b6ebe7d Fix the 'make dist' behavior to include gtest-tuple.h and gtest-tuple.h.pump. Missing these caused failures on platforms depending on them as well as general failures of the dedicated tests for the tuple implementation. chandlerc 2009-08-11 02:16:16 +0000
  • 5502540a5b Unbreak the build for Solaris by selecting the correct include headers for its POSIX regex support. Patch contributed by Monty Taylor <monty.taylor@gmail.com> to the protocol buffer project, and relayed by Kenton to GoogleTest. Tweaked to include the new define in the #endif comment. chandlerc 2009-08-10 20:59:41 +0000
  • 9571b28675 Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes gmock compilable on platforms that don't have ::abort() (by Acadeli Checa); Fixes compatibility with Symbian's STLport (by Acadeli Checa). zhanyong.wan 2009-08-07 07:15:56 +0000
  • ed8500b341 Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility with Symbian (by Araceli Checa); Removes GetCapturedStderr()'s dependency on std::string (by Vlad Losev). zhanyong.wan 2009-08-07 06:47:47 +0000
  • 18c31d64e1 Makes gtest compilable on Win CE. zhanyong.wan 2009-07-23 06:30:32 +0000
  • a18423e0ee Re-organizes the file structure for actions. zhanyong.wan 2009-07-22 23:58:19 +0000
  • 16b9431ae0 Makes gtest compile clean with gcc -Wall -Werror (by Zhanyong Wan); refactors scons script (by Vlad Losev). zhanyong.wan 2009-07-22 02:16:37 +0000
  • 1afe1c7971 Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h (by Zhanyong Wan). zhanyong.wan 2009-07-21 23:26:31 +0000
  • 387bdd551d Makes ByRef(x) printable as a reference to x. zhanyong.wan 2009-07-20 21:16:35 +0000
  • b5937dab69 Adds the Key() matcher, by Marcus Borger. zhanyong.wan 2009-07-16 20:26:41 +0000
  • c214ebc830 More refactoring for the event listener API, by Vlad Losev. zhanyong.wan 2009-07-16 00:36:55 +0000
  • 3a47ddf8ea Makes gtest report failures to Visual Studio's Output window. Based on code by Alexander Demin. zhanyong.wan 2009-07-15 19:01:51 +0000
  • 8bdb31e054 Adds the command line flags needed for test shuffling. Most code by Josh Kelley. zhanyong.wan 2009-07-14 22:56:46 +0000
  • 89080477ae Adds color support for TERM=linux (by Alexander Demin); renames List to Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev). zhanyong.wan 2009-07-13 19:25:02 +0000
  • 600105ee3a Makes List a random-access data structure. This simplifies the implementation and makes it easier to implement test shuffling. zhanyong.wan 2009-07-01 22:55:05 +0000
  • 41b9b0b561 Implements Expectation, ExpectationSet, and After for specifying expectation orders. zhanyong.wan 2009-07-01 19:04:51 +0000
  • 4019819dbb A trivial comment fix. zhanyong.wan 2009-07-01 05:03:39 +0000
  • b2db677c99 Reduces the flakiness of gtest-port_test on Mac; improves the Python tests; hides methods that we don't want to publish; makes win-dbg8 the default scons configuration (all by Vlad Losev). zhanyong.wan 2009-07-01 04:58:05 +0000
  • 1b61f16aef Makes list traversal O(N) instead of O(N^2) (by Zhanyong Wan). zhanyong.wan 2009-06-25 22:21:28 +0000
  • aaebfcdc40 Refactors for the event listener API (by Vlad Losev): hides some methods in UnitTest; implements the result printers using the public API. zhanyong.wan 2009-06-25 20:49:23 +0000
  • e6095deec8 Makes gtest's tuple implementation work with Symbian 5th edition by bypassing 2 compiler bugs (by Zhanyong Wan); refactors for the event listener API (by Vlad Losev). zhanyong.wan 2009-06-24 23:02:50 +0000
  • 81476f2f90 Makes gmock-spec-builders_test.cc and gmock-internal-utils_test.cc work where both ::string and ::std::string are defined. zhanyong.wan 2009-06-22 23:30:47 +0000
  • ef29ce3576 Turns on exceptions when compiling gtest_output_test (by Vlad Losev); moves TestCase to gtest.h to prepare for the event listener API (by Vlad Losev). zhanyong.wan 2009-06-22 23:29:24 +0000
  • 046efb852b Fixes the broken run_tests_test (by Vlad Losev). zhanyong.wan 2009-06-19 21:23:56 +0000
  • 3c181b5657 Moves TestResult from gtest-internal-inl.h to gtest.h to prepare for the even listener API work (by Vlad Losev); cleans up the scons script (by Zhanyong Wan). zhanyong.wan 2009-06-19 21:20:40 +0000
  • 4853a50337 Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika). zhanyong.wan 2009-06-19 17:23:54 +0000
  • ae3247986b Fixes broken gtest_unittest on Cygwin and cleans it up (by Vlad Losev); fixes the wrong usage of os.environ.clear() in gtest_output_test.py (by Vlad Losev); fixes the logic for detecting Symbian (by Zhanyong Wan); moves TestProperty for event listener (by Vlad Losev). zhanyong.wan 2009-06-19 00:24:28 +0000
  • 90c90f9250 Switches from Boost TR1 tuple to gtest's TR1 tuple. zhanyong.wan 2009-06-17 22:11:04 +0000
  • 532dc2de35 Implements a subset of TR1 tuple needed by gtest and gmock (by Zhanyong Wan); cleaned up the Python tests (by Vlad Losev); made run_tests.py invokable from any directory (by Vlad Losev). zhanyong.wan 2009-06-17 21:06:27 +0000
  • 4cd148e588 Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL. zhanyong.wan 2009-06-11 20:07:00 +0000
  • 210ea10e7a Fixes the logic for determining whether cxxabi.h is available. zhanyong.wan 2009-06-11 20:06:06 +0000
  • 07587e9db4 Works around a gcc bug that causes tr1/tuple to fail to compile when RTTI is disabled. zhanyong.wan 2009-06-11 04:04:06 +0000
  • 683f431d83 Works around a gcc bug when compiling tr1/tuple with RTTI disabled. zhanyong.wan 2009-06-11 03:33:05 +0000
  • b24b49d85a Fixes a typo in run_tests.py and its test (by Vlad Losev). zhanyong.wan 2009-06-11 00:51:14 +0000
  • bf55085d45 Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian. zhanyong.wan 2009-06-09 06:09:53 +0000
  • e68adf5c90 Enables tr1 tuple on Symbian. zhanyong.wan 2009-06-09 05:52:03 +0000
  • 819501581c Adds run_tests.py for running the tests (by Vlad Losev). zhanyong.wan 2009-06-09 05:47:03 +0000
  • 2661c6821a Implements the Args<k1, ..., kn>(m) matcher. zhanyong.wan 2009-06-09 05:42:12 +0000
  • fd36c200f4 Adds support for xterm-256color (by Michihiro Kuramochi). zhanyong.wan 2009-06-09 05:38:14 +0000
  • 240fe5a0cf Fixes errors in the autotools scripts. zhanyong.wan 2009-06-05 06:42:33 +0000
  • b82431625d Makes all container matchers work with (possibly multi-dimensional) native arrays; makes Contains() accept a matcher; adds Value(x, m); improves gmock doctor to diagnose the Type in Template Base disease. zhanyong.wan 2009-06-04 05:48:20 +0000
  • c2ad46a5df Improves gmock generator and adds a test for it (by Neal Norwitz). zhanyong.wan 2009-06-02 20:41:21 +0000
  • 9413f2ff61 Avoids unnecessary printing of call into to internal buffers; Made the universal value printer safer when printing char[]; Removed duplicated code in InvokeWith; Improved gmock_doctor.py. zhanyong.wan 2009-05-29 19:50:06 +0000
  • 1bd424d960 Adds missing copyright in test/gtest-test-part_test.cc (by Markus Heule). Minor format adjustments. zhanyong.wan 2009-05-29 19:46:51 +0000
  • 8de91f8f83 Change a few visibilities to work around a bug in g++ 3.4.2. tsunanet 2009-05-18 20:53:57 +0000
  • 16cf473930 Finishes SafeMatcherCast by catching lossy arithmetic conversions at compile-time; uses ACTION_TEMPLATE to simplify the definition of many actions; makes mock object uncopyable; teaches gmock doctor about wrong MOCK_METHODn. zhanyong.wan 2009-05-14 20:55:30 +0000
  • c6a412397b Adds more tests for using SetArgumentPointee with protobufs; works around a compiler bug on Symbian that gmock-printers.h triggers; reduces template code bloat in gmock-matchers.h; avoids RTTI when it's disabled. zhanyong.wan 2009-05-13 23:38:40 +0000
  • 18490653e8 Partially implemented SafeMatcherCast (by Vlad Losev); updated the implementation of Not, AnyOf, and AllOf to use SafeMatcherCast (by Vlad Losev); implemented ACTION_TEMPLATE (by Zhanyong Wan); worked around bugs on Symbian (by Zhanyong Wan). zhanyong.wan 2009-05-11 18:54:08 +0000
  • d955e83bee Makes the mock generator work with python2.3.5, which comes with Mac OS X Tiger. zhanyong.wan 2009-05-07 21:20:57 +0000
  • c8a0482c0b Fixes the broken gtest_break_on_failure_unittest.py. zhanyong.wan 2009-05-07 20:39:08 +0000
  • 84b8e4c65d Cleans up the mock generator script: zhanyong.wan 2009-05-07 20:38:25 +0000
  • ce60784fb5 Allow any number of ClassNames to be specified on the command line. 0 ClassNames means emit all classes found in the file. nnorwitz 2009-05-06 05:57:09 +0000
  • 60df3efe39 Fix grammar in comment nnorwitz 2009-05-06 05:31:57 +0000
  • 987a978c3c Issue 44: "const" is missing for const return types nnorwitz 2009-05-06 05:01:46 +0000
  • e7bb5ededa Improves the error message for leaked mocks to include the test name (by Zhanyong Wan). zhanyong.wan 2009-05-05 23:14:47 +0000
  • 42abea350d Uses DebugBreak() to properly break on Windows (by Vlad Losev). zhanyong.wan 2009-05-05 23:13:43 +0000
  • 125783fb87 Fixes tr1 tuple's path when compiled with gcc version < 4.0.0 (by Zhanyong Wan). zhanyong.wan 2009-05-05 19:36:44 +0000
  • 9b23e3cc76 Removes dead code (by Vlad Losev). Fixes tr1 tuple's path on gcc version before 4.0.0 (by Zhanyong Wan). zhanyong.wan 2009-05-05 19:31:00 +0000
  • fbaedd2d01 Trivial source code format tweak. zhanyong.wan 2009-04-29 23:53:30 +0000
  • bf0d0a4481 Turns --gmock_catch_leaked_mocks on by default. zhanyong.wan 2009-04-29 23:52:29 +0000
  • c78ae6196d Ports gtest to C++Builder, by Josh Kelley. zhanyong.wan 2009-04-28 00:28:09 +0000
  • f2334aa195 Ports gtest to minGW (by Kenton Varda). zhanyong.wan 2009-04-25 04:42:30 +0000
  • fa2b06c52f Makes --gtest_list_tests honor the test filter (by Jay Campan). zhanyong.wan 2009-04-24 20:27:29 +0000
  • f2d0d0e3d5 Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to SConscript (by Vlad Losev). zhanyong.wan 2009-04-24 00:26:25 +0000
  • df35a763b9 Implements --gmock_catch_leaked_mocks and Mock::AllowLeak. zhanyong.wan 2009-04-22 22:25:31 +0000
  • f204cd89e5 Makes gtest print elapsed time by default. zhanyong.wan 2009-04-14 23:19:22 +0000
  • 1c8eb1c059 Adds actions ReturnNew<T>(...) and DeleteArg<k>(), by Jason Hsueh. zhanyong.wan 2009-04-09 07:29:58 +0000
  • 56fe7460a8 Adds fuse_gmock_files.py to fuse all Google Mock and Google Test source files (by Zhanyong Wan). zhanyong.wan 2009-04-09 03:01:25 +0000
  • 7fa242a44b Makes the Python tests more stable (by Vlad Losev); fixes a memory leak in GetThreadCount() on Mac (by Vlad Losev); improves fuse_gtest_files.py to support fusing Google Mock files (by Zhanyong Wan). zhanyong.wan 2009-04-09 02:57:38 +0000
  • c12f63214e Adds sample4_unittest to scons (by Vlad Losev); adds logic for getting the thread count on Mac (by Vlad Losev); adds HasFailure() and HasNonfatalFailure() (by Zhanyong Wan). zhanyong.wan 2009-04-07 21:03:22 +0000
  • 0da92aaf7f Fixes the comment about GTEST_ATTRIBUTE_UNUSED_. zhanyong.wan 2009-04-03 00:11:11 +0000