Commit Graph

12 Commits

Author SHA1 Message Date
zhanyong.wan
dac3e879c5 Include gtest headers as user headers instead of system headers. 2010-09-14 05:35:59 +00:00
zhanyong.wan
83589cca34 Supports building gtest as a DLL (by Vlad Losev). 2010-03-05 21:21:06 +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
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
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
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). 2009-08-07 06:47:47 +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
0af0709b02 Cleans up macro definitions. 2009-02-23 23:21:55 +00:00
zhanyong.wan
c946ae6019 Implements a simple regex matcher (to be used by death tests on Windows). 2009-01-29 01:28:52 +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
shiqian
019d19af97 Improves thread-safe death tests by changing to the original working directory before they are executed; also fixes out-dated comments about death tests. 2008-09-12 04:01:37 +00:00
shiqian
d201456903 Initial import. 2008-07-03 22:38:12 +00:00