Commit Graph

38 Commits

Author SHA1 Message Date
zhanyong.wan
2426542402 Removes support for MSVC 7.1 from the scons scripts. 2009-12-23 20:47:20 +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
a3dd9d97c5 Supports building gtest as a DLL (by Vlad Losev). 2009-12-18 05:23:04 +00:00
zhanyong.wan
88e97c822c Removes uses of GTEST_HAS_STD_STRING. 2009-12-16 23:34:59 +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
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
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
vladlosev
060804deb8 Fixes: Scons build file broken when used in another SConstruct; warning in VC 8.0 when compiled with /Wp64 2009-10-14 22:33:03 +00:00
zhanyong.wan
3b1ab7210c Refactors the scons script (by Vlad Losev). 2009-10-01 23:02:59 +00:00
zhanyong.wan
95279071b1 Refactors the scons script (by Vlad Losev).
Fixes a typo in __GNUC__ (by Zhanyong Wan).
2009-09-30 23:55:07 +00:00
zhanyong.wan
bd851333e8 Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original patch).
Enables death tests on minGW (by Vlad Losev).
2009-09-30 23:46:28 +00:00
zhanyong.wan
f8b268ee86 Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).
Renames EventListenrs to TestEventListeners (by Zhanyong Wan).
Fixes invalid characters in XML report (by Vlad Losev).
Refacotrs SConscript (by Vlad Losev).
2009-09-30 20:23:50 +00:00
zhanyong.wan
2534ae201e Adds a Random class to support --gtest_shuffle (by Josh Kelley); Makes the scons script build in a deterministic order (by Zhanyong Wan). 2009-09-21 19:42:03 +00:00
zhanyong.wan
9f894c2b36 Makes gtest compile cleanly with MSVC's warning 4511 & 4512 (copy ctor /
assignment operator cannot be generated) enabled.
2009-09-18 16:35:15 +00:00
zhanyong.wan
12d740faef Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) enabled. 2009-09-17 05:04:08 +00:00
zhanyong.wan
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). 2009-09-11 06:59:42 +00:00
zhanyong.wan
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). 2009-09-04 18:30:25 +00:00
zhanyong.wan
56a2e686e9 Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad Losev). 2009-09-01 18:53:56 +00:00
zhanyong.wan
16b9431ae0 Makes gtest compile clean with gcc -Wall -Werror (by Zhanyong Wan); refactors scons script (by Vlad Losev). 2009-07-22 02:16:37 +00:00
zhanyong.wan
c214ebc830 More refactoring for the event listener API, by Vlad Losev. 2009-07-16 00:36:55 +00:00
zhanyong.wan
8bdb31e054 Adds the command line flags needed for test shuffling. Most code by Josh Kelley. 2009-07-14 22:56:46 +00:00
zhanyong.wan
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). 2009-06-22 23:29:24 +00:00
zhanyong.wan
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). 2009-06-19 21:20:40 +00:00
zhanyong.wan
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). 2009-06-17 21:06:27 +00:00
zhanyong.wan
683f431d83 Works around a gcc bug when compiling tr1/tuple with RTTI disabled. 2009-06-11 03:33:05 +00:00
zhanyong.wan
f2d0d0e3d5 Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to SConscript (by Vlad Losev). 2009-04-24 00:26:25 +00:00
zhanyong.wan
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). 2009-04-07 21:03:22 +00:00
zhanyong.wan
5f7c33d39c Fixes the scons script to build gtest-death-test_test on Linux. 2009-04-02 00:31:38 +00:00
zhanyong.wan
3e54f5a371 Fixes a MSVC warning (by Vlad Losev); fixes SConscript to work with VC 7.1 and exceptions enabled (by Zhanyong Wan). 2009-03-31 00:03:56 +00:00
zhanyong.wan
87d23e45f0 Implements the --help flag; fixes tests on Windows. 2009-03-11 22:18:52 +00:00
zhanyong.wan
40e72a8a83 Implements --gtest_throw_on_failure for using gtest with other testing frameworks. 2009-03-06 20:05:23 +00:00
zhanyong.wan
4984c93490 Implements death tests on Windows (by Vlad Losev); enables POSIX regex on Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX. 2009-03-06 01:20:15 +00:00
zhanyong.wan
a5391b50a2 Adds gtest_all_test.cc. Also cleans up gtest_unittest.cc. 2009-02-09 19:56:02 +00:00
vladlosev
3d70421763 Value-parameterized tests and many bugfixes 2008-11-20 01:40:35 +00:00
shiqian
321234377e Fixes the header search path in SConscript and add SConscript to the distribution. 2008-10-12 01:07:26 +00:00
shiqian
e0865dd919 Many changes:
- appends "_" to internal macro names (by Markus Heule).
- makes Google Test work with newer versions of tools on Symbian and Windows CE (by Mika Raento).
- adds the (ASSERT|EXPECT)_NO_FATAL_FAILURE macros (by Markus Heule).
- changes EXPECT_(NON|)FATAL_FAILURE to catch failures in the current thread only (by Markus Heule).
- adds the EXPECT_(NON|)FATAL_FAILURE_ON_ALL_THREADS macros (by Markus Heule).
- adds GTEST_HAS_PTHREAD and GTEST_IS_THREADSAFE to indicate the availability of <pthread.h> and Google Test's thread-safety (by Zhanyong Wan).
- adds scons/SConscript for building with scons (by Joi Sigurdsson).
- adds src/gtest-all.cc for building Google Test from a single file (by Markus Heule).
- updates the xcode project to include new tests (by Preston Jackson).
2008-10-11 07:20:02 +00:00