Commit Graph

1555 Commits

Author SHA1 Message Date
zhanyong.wan
821133180c Implements the new matcher API. 2010-01-08 21:55:40 +00:00
zhanyong.wan
e92ccedad9 Changes Message() to print double with enough precision by default. 2010-01-08 00:23:45 +00:00
zhanyong.wan
ef37aa4074 Fixes a typo in gtest-port.h, by Manuel Klimek. 2010-01-07 20:53:15 +00:00
zhanyong.wan
276f4019c0 Makes the cmake script work on Windows (by Manuel Klimek). 2010-01-06 18:04:55 +00:00
zhanyong.wan
edbcd6294e Fixes issue 217: lets MSVC 10 uses its own tr1 tuple. 2010-01-05 20:44:37 +00:00
zhanyong.wan
c73d024193 Makes the cmake script compatible with cmake 2.6.4. 2010-01-05 18:27:41 +00:00
zhanyong.wan
38efa38f40 Uses FindThreads to set the proper link flag when using threads (by Manuel Klimek). 2010-01-05 16:30:02 +00:00
zhanyong.wan
1d6df4be08 Adds an experimental CMake build script; makes the samples compile without warnings on Windows. 2009-12-29 19:45:33 +00:00
zhanyong.wan
4d004650c9 Adds proper license to the xcode build scripts. 2009-12-29 03:19:01 +00:00
zhanyong.wan
7f8eb725b5 Removes support for MSVC 7.1 from the scons scripts. 2009-12-23 20:48:53 +00:00
zhanyong.wan
2426542402 Removes support for MSVC 7.1 from the scons scripts. 2009-12-23 20:47:20 +00:00
zhanyong.wan
32de5f5376 Fixes a slew of compiler warnings and turns on "warning as error" in the scons build. 2009-12-23 00:13:23 +00:00
zhanyong.wan
7b0c8dd3a9 Adds macro GTEST_DISALLOW_ASSIGN_, needed by gmock. 2009-12-23 00:09:23 +00:00
zhanyong.wan
940ce8a210 Moves gtest.def from src/ to msvc/. 2009-12-18 16:48:20 +00:00
zhanyong.wan
284b54d304 Trims the autotools build script. 2009-12-18 08:00:42 +00:00
zhanyong.wan
a3dd9d97c5 Supports building gtest as a DLL (by Vlad Losev). 2009-12-18 05:23:04 +00:00
zhanyong.wan
39bf784f83 Removes uses of GTEST_HAS_STD_STRING. 2009-12-16 23:36:08 +00:00
zhanyong.wan
88e97c822c Removes uses of GTEST_HAS_STD_STRING. 2009-12-16 23:34:59 +00:00
zhanyong.wan
075b76bb96 Trims the autotools build script. 2009-12-16 21:40:41 +00:00
zhanyong.wan
cca227fe75 Moves mis-placed tests. 2009-12-16 20:21:27 +00:00
zhanyong.wan
d56773b492 Turns on -Wshadow (by Preston Jackson). 2009-12-16 19:54:05 +00:00
zhanyong.wan
3508784108 Stops supporting MSVC 7.1 with exceptions disabled. 2009-12-14 19:14:04 +00:00
zhanyong.wan
5a3c1691a1 Removes gmock_output_test_.vcproj. 2009-12-09 18:21:28 +00:00
zhanyong.wan
099e3b93c5 Makes gmock_doctor work with gcc 4.4.0. 2009-12-09 17:58:37 +00:00
zhanyong.wan
44bafcb62d Fixes the "passing non-POD to ellipsis" warning in Sun Studio. Based on Alexander Demin's patch. 2009-12-07 20:45:16 +00:00
zhanyong.wan
a95c6a5a69 Fixes a C++-standard-compliance bug in gmock-printers.h. 2009-12-02 08:36:42 +00:00
zhanyong.wan
f6d6a22b8e Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad Losev); Fixes ambiguous call to implicit_cast; Uses gtest's SkipPrefix() instead gmock's own (by Vlad Losev). 2009-12-01 19:42:25 +00:00
zhanyong.wan
891b3716c4 Exposes SkipPrefix s.t. it can be used by gmock (by Vlad Losev). 2009-12-01 19:39:52 +00:00
zhanyong.wan
19eb9e9e3d Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the Python tests work on Windows (by Vlad Losev); adds run_tests.py (by Vlad Losev). 2009-11-24 20:23:18 +00:00
zhanyong.wan
2e075a7f60 Refactors run_tests.py s.t. it can be shared by gmock (by Vlad Losev); Fixes a warning in gtest-tuple_test.cc on Cygwin (by Vlad Losev). 2009-11-24 20:19:45 +00:00
vladlosev
e56daa7de1 Tests NotNull/IsNull with testing::internal::scoped_ptr. 2009-11-18 01:08:08 +00:00
vladlosev
b006f165b1 Adds SCons build files for Google Mock 2009-11-18 00:44:26 +00:00
vladlosev
79b83505bc Updates IsNull and NotNull matchers to work with smart pointers. 2009-11-18 00:43:37 +00:00
vladlosev
a63be0bd91 Adjusts gMock Doctor to work with Return implementation updated in r233 2009-11-18 00:42:27 +00:00
vladlosev
201ac16191 Enables gmock's implicit_cast to work with source types that have a non-const conversion operator (by Zhanyong Wan). 2009-11-18 00:12:05 +00:00
vladlosev
a070cbd91c Enables gmock's implicit_cast to work with source types that 2009-11-18 00:09:28 +00:00
vladlosev
b6fe6899be Implements the element_type typedef in testing::internal::scoped_ptr. This is needed to test gmock's IsNull/NotNull with it. 2009-11-17 23:34:56 +00:00
vladlosev
bf26ca01f2 Prevents Google Test from printing help message upon seeing the --gtest_stack_trace_depth flag. This was breaking gmock_output_test. 2009-11-17 22:43:15 +00:00
vladlosev
24ccb2c3e0 Blocks test binaries from inheriting GTEST_OUTPUT variable when invoked from Python test scripts (fixes issue 223). 2009-11-17 22:41:27 +00:00
vladlosev
b99c9eceab Re-factors run_tests.py for easier reuse by Google Mock 2009-11-17 22:25:07 +00:00
zhanyong.wan
bcf926ec65 Improves the scons scripts and run_tests.py (by Vlad Losev); uses typed tests in gtest-port_test.cc only when typed tests are available (by Zhanyong Wan); makes gtest-param-util-generated.h conform to the C++ standard (by Zhanyong Wan). 2009-11-13 02:54:23 +00:00
zhanyong.wan
2871bb4d34 Adds gmock_all_test.cc for compiling most gmock tests in a single file. 2009-11-12 19:18:48 +00:00
zhanyong.wan
21a5846afd Makes gmock-generated-function-mockers.h conform to the C++ standard. 2009-11-12 19:18:08 +00:00
zhanyong.wan
7e13e0f5dd Fixes the code to work with fuse_gtest.py. 2009-11-10 19:17:35 +00:00
zhanyong.wan
4910d29e1e Makes gmock-all.cc catch errors in fuse_gmock.py. 2009-11-10 19:16:27 +00:00
zhanyong.wan
2e7c475e16 Adds a dummy test to gmock-port.test.cc. 2009-11-06 23:43:30 +00:00
vladlosev
edba5d808c Fixes linker error when used with gMock on Windows 2009-10-23 00:49:33 +00:00
vladlosev
6bfc4b2bd3 Prints help when encountering unrecognized Google Test flags. 2009-10-22 01:22:29 +00:00
vladlosev
6c54a5e1f9 Enables more verbose output for expectations (by Sverre Sundsdal); Fixes information loss warning when compiled by VC8.0 with /Wp64; Skips two tests on Windows Mobile that don't work there. 2009-10-21 06:15:34 +00:00
vladlosev
bad778caa3 Implements support for AssertionResult in Boolean assertions such as EXPECT_TRUE; Fixes Google Tests's tuple implementation to default-initialize its fields in the default constructor (by Zhanyong Wan); Populates gtest_stress_test.cc with actual tests. 2009-10-20 21:03:10 +00:00