Commit graph

  • f47a2df57b Makes gmock compile on minGW, which uses gcc 3.4.5. zhanyong.wan 2009-09-24 16:39:30 +00:00
  • c286524bbf Removes gtest's dependency on python2.4. zhanyong.wan 2009-09-22 16:19:19 +00:00
  • 9ec8f18cd0 Removes gtest's dependency on python2.4. zhanyong.wan 2009-09-22 16:19:19 +00:00
  • a89034c802 Removes gmock's dependency on python2.4. zhanyong.wan 2009-09-22 16:18:42 +00:00
  • 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 +00:00
  • 64c17333dc 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 +00:00
  • ee7d82f0dc Fixed unintentional linking of a non-WikiWords word vladlosev 2009-09-19 20:17:28 +00:00
  • 63b48d7c55 Added a link to MinGW cross-compilation instructions on wxwidgets.org site. vladlosev 2009-09-19 20:15:13 +00:00
  • bbd6e105e7 Picks up gtest r314. zhanyong.wan 2009-09-18 18:17:19 +00:00
  • 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 +00:00
  • d5bedd9ed5 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 +00:00
  • 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 +00:00
  • c62c26a8a8 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 +00:00
  • 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 +00:00
  • d183d034cb 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 +00:00
  • 93244dc369 Disbles two tests that crash on Symbian. zhanyong.wan 2009-09-17 19:11:00 +00:00
  • 1377e32b3e wiki change: adds "how to generate 64-bit on Windows" to the FAQ. zhanyong.wan 2009-09-17 05:56:32 +00:00
  • 12d740faef Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) enabled. zhanyong.wan 2009-09-17 05:04:08 +00:00
  • 0b09e5ff5d Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) enabled. zhanyong.wan 2009-09-17 05:04:08 +00:00
  • f07dc6b1b1 Fixes line-ending in the new -md VC projects. zhanyong.wan 2009-09-16 21:38:13 +00:00
  • 789b015dfc Fixes line-ending in the new -md VC projects. zhanyong.wan 2009-09-16 21:38:13 +00:00
  • 4bd79e4f25 Simplifies the definition of NativeArray. Works around a VC bug in StrictMock & NiceMock. zhanyong.wan 2009-09-16 17:38:08 +00:00
  • 302a41c90b Small code simplification (by Vlad Losev). zhanyong.wan 2009-09-16 17:36:39 +00:00
  • 1784b0f9a0 Small code simplification (by Vlad Losev). zhanyong.wan 2009-09-16 17:36:39 +00:00
  • f5e1ce5b92 Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad Losev). zhanyong.wan 2009-09-16 07:02:02 +00:00
  • 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 +00:00
  • 85b9f9946b 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 +00:00
  • c53b3dca1b Removes dead code in gmock-more-actions_test.cc. zhanyong.wan 2009-09-12 06:46:26 +00:00
  • d2f62d6d11 wiki change: clarifies the definition of "death" in the advanced guide. zhanyong.wan 2009-09-11 21:19:14 +00:00
  • 04d6ed817e Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. zhanyong.wan 2009-09-11 07:01:08 +00:00
  • 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 +00:00
  • aacf96c3b0 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 +00:00
  • 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 +00:00
  • 3c1e5073f3 Adjusts VC projects' output directories such that the output files don't step on each other. zhanyong.wan 2009-09-11 06:02:00 +00:00
  • b8c172f6c3 Really removes unneeded VC projects. zhanyong.wan 2009-09-11 05:42:49 +00:00
  • 130a322ca9 Really removes unneeded VC projects. zhanyong.wan 2009-09-11 05:42:49 +00:00
  • bcaf6f542f Removes deprecated /Wp64 flag from VC projects; also removes unneeded VC projects. zhanyong.wan 2009-09-11 05:41:41 +00:00
  • 2cc4615c55 Removes deprecated /Wp64 flag from VC projects; also removes unneeded VC projects. zhanyong.wan 2009-09-11 05:41:41 +00:00
  • d6ffd13698 Adds gmock-more-actions.h to the distribution ('make distcheck' passes). zhanyong.wan 2009-09-08 17:15:49 +00:00
  • 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 +00:00
  • 3381e4ed05 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 +00:00
  • 5bc7cfe817 Updates CHANGES. zhanyong.wan 2009-09-04 18:10:53 +00:00
  • 46642857b1 Depends on gtest r300, which allows String to contain NUL. zhanyong.wan 2009-09-01 19:10:50 +00:00
  • 56a2e686e9 Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad Losev). zhanyong.wan 2009-09-01 18:53:56 +00:00
  • 628cbb927c Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad Losev). zhanyong.wan 2009-09-01 18:53:56 +00:00
  • 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 +00:00
  • 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 +00:00
  • 03d52a8a2d 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 +00:00
  • b5936af65c Adds /MD(d) versions of VC++ projects. vladlosev 2009-08-28 19:11:47 +00:00
  • 2503b33211 Adds /MD(d) versions of VC++ projects. vladlosev 2009-08-28 19:11:47 +00:00
  • 1da9ceefa5 Fixes an uninitialized field in class OsStackTraceGetter. zhanyong.wan 2009-08-26 17:44:38 +00:00
  • dc02c8fae1 Fixes an uninitialized field in class OsStackTraceGetter. zhanyong.wan 2009-08-26 17:44:38 +00:00
  • 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 +00:00
  • 3a27fe6556 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 +00:00
  • 4dfdea6fd1 wiki change: added instructions on how to ask a question. zhanyong.wan 2009-08-16 14:58:53 +00:00
  • e2f1b6cfe0 wiki change: makes the FAQ featured. zhanyong.wan 2009-08-16 14:25:48 +00:00
  • 0ea67f88ae Improves protobuf print format. zhanyong.wan 2009-08-14 04:50:02 +00:00
  • ee54520927 wiki change: clarifies that assertions can be used in functions that aren't methods of the test fixture. zhanyong.wan 2009-08-11 18:02:07 +00:00
  • 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 +00:00
  • fbb780a911 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 +00:00
  • 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 +00:00
  • aaa0f879cf 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 +00:00
  • 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 +00:00
  • 8d9ac166d9 wiki change: adds EXPECT_DEATH_IF_SUPPORTED zhanyong.wan 2009-08-07 06:55:53 +00:00
  • 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 +00:00
  • 280294e3e1 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 +00:00
  • 18c31d64e1 Makes gtest compilable on Win CE. zhanyong.wan 2009-07-23 06:30:32 +00:00
  • a797cafe9f Makes gtest compilable on Win CE. zhanyong.wan 2009-07-23 06:30:32 +00:00
  • a18423e0ee Re-organizes the file structure for actions. zhanyong.wan 2009-07-22 23:58:19 +00:00
  • 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 +00:00
  • 60b6ecdb55 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 +00:00
  • 1afe1c7971 Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h (by Zhanyong Wan). zhanyong.wan 2009-07-21 23:26:31 +00:00
  • 387bdd551d Makes ByRef(x) printable as a reference to x. zhanyong.wan 2009-07-20 21:16:35 +00:00
  • 03e10a5610 Edited wiki page through web user interface. vladlosev 2009-07-17 00:53:58 +00:00
  • 21060f42ce Clarified language on Death Test regular expression syntax in the GoogleTestFAQ wiki page. vladlosev 2009-07-17 00:47:33 +00:00
  • b5937dab69 Adds the Key() matcher, by Marcus Borger. zhanyong.wan 2009-07-16 20:26:41 +00:00
  • c214ebc830 More refactoring for the event listener API, by Vlad Losev. zhanyong.wan 2009-07-16 00:36:55 +00:00
  • 205c92ade2 More refactoring for the event listener API, by Vlad Losev. zhanyong.wan 2009-07-16 00:36:55 +00:00
  • 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 +00:00
  • 65437a4222 Makes gtest report failures to Visual Studio's Output window. Based on code by Alexander Demin. zhanyong.wan 2009-07-15 19:01:51 +00:00
  • 8bdb31e054 Adds the command line flags needed for test shuffling. Most code by Josh Kelley. zhanyong.wan 2009-07-14 22:56:46 +00:00
  • 33dec93946 Adds the command line flags needed for test shuffling. Most code by Josh Kelley. zhanyong.wan 2009-07-14 22:56:46 +00:00
  • 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 +00:00
  • 4770fb25b8 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 +00:00
  • 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 +00:00
  • e1f53b1b08 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 +00:00
  • 50bd9c2320 wiki change: adds instructions on setting up a new test project to the primer. zhanyong.wan 2009-07-01 22:45:45 +00:00
  • 41b9b0b561 Implements Expectation, ExpectationSet, and After for specifying expectation orders. zhanyong.wan 2009-07-01 19:04:51 +00:00
  • 4019819dbb A trivial comment fix. zhanyong.wan 2009-07-01 05:03:39 +00:00
  • 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 +00:00
  • 1d9dc2e0c9 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 +00:00
  • 1b61f16aef Makes list traversal O(N) instead of O(N^2) (by Zhanyong Wan). zhanyong.wan 2009-06-25 22:21:28 +00:00
  • d7df6a425c Makes list traversal O(N) instead of O(N^2) (by Zhanyong Wan). zhanyong.wan 2009-06-25 22:21:28 +00:00
  • 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 +00:00
  • 47749088ca 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 +00:00
  • 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 +00:00
  • 70083c5ecf 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 +00:00
  • 567a1b7586 wiki changes: adds explanation on why EXPECT_NE(NULL, ptr) doesn't work to the FAQ. zhanyong.wan 2009-06-24 17:16:40 +00:00
  • 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 +00:00
  • 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 +00:00