zhanyong.wan
48b1315108
Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).
2011-01-10 18:17:59 +00:00
zhanyong.wan
dac3e879c5
Include gtest headers as user headers instead of system headers.
2010-09-14 05:35:59 +00:00
zhanyong.wan
35c3975649
Casts char to unsigned char before calling isspace() etc to avoid undefined behavior (by Zhanyong Wan); removes conditional #includes keyed on GTEST_HAS_PROTOBUF_ (by Zhanyong Wan); publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); forward declares some classes properly (by Samuel Benzaquen); honors the --gtest_catch_exceptions flag (by Vlad Losev).
2010-08-31 18:21:13 +00:00
zhanyong.wan
7c598c4f1a
Adds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad Losev).
2010-07-26 21:59:50 +00:00
zhanyong.wan
e2a7f03b80
Allows EXPECT_EQ to accept arguments that don't have operator << (by Zhanyong Wan).
...
Allows a user to customize how the universal printer prints a pointer of a specific type by overloading << (by Zhanyong Wan).
Works around a bug in Cymbian's C++ compiler (by Vlad Losev).
2010-07-21 22:15:17 +00:00
zhanyong.wan
985a30360c
Adds tests for SkipPrefix().
2010-06-08 22:51:46 +00:00
zhanyong.wan
55d166a222
Adds GTEST_REMOVE_REFERENCE_AND_CONST_.
2010-05-17 19:31:00 +00:00
zhanyong.wan
61baf319bb
Suppresses some Clang warnings (by Chandler Carruth, Jeffrey Yasskin, and Zhanyong Wan).
2010-05-10 17:23:54 +00:00
zhanyong.wan
2ccea88c99
Moves the universal printer from gmock to gtest and refactors the cmake script for reusing in gmock (by Vlad Losev).
2010-05-10 17:11:58 +00:00
zhanyong.wan
9f0824b0a6
Adds missing gtest DLL exports.
2010-03-22 21:23:51 +00:00
zhanyong.wan
83589cca34
Supports building gtest as a DLL (by Vlad Losev).
2010-03-05 21:21:06 +00:00
zhanyong.wan
0d27868d0f
Simplifies the implementation by using std::vector instead of Vector.
2010-02-25 01:09:07 +00:00
zhanyong.wan
88e97c822c
Removes uses of GTEST_HAS_STD_STRING.
2009-12-16 23:34:59 +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
891b3716c4
Exposes SkipPrefix s.t. it can be used by gmock (by Vlad Losev).
2009-12-01 19:39:52 +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
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
e5373af0cb
Renames the TestPartResult type enums and adjusts the order of methods in the event listener interface (by Vlad Losev).
2009-09-18 18:16:20 +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
866f4a9446
Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renames
...
GTEST_HIDE_UNREACHABLE_CODE_ to
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ (by Vlad Losev).
2009-09-16 06:59:17 +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
c214ebc830
More refactoring for the event listener API, by Vlad Losev.
2009-07-16 00:36:55 +00:00
zhanyong.wan
89080477ae
Adds color support for TERM=linux (by Alexander Demin); renames List to Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
2009-07-13 19:25:02 +00:00
zhanyong.wan
600105ee3a
Makes List a random-access data structure. This simplifies the implementation and makes it easier to implement test shuffling.
2009-07-01 22:55:05 +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
4853a50337
Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).
2009-06-19 17:23:54 +00:00
zhanyong.wan
c78ae6196d
Ports gtest to C++Builder, by Josh Kelley.
2009-04-28 00:28:09 +00:00
zhanyong.wan
44a041b711
Fixes death-test-related tests on Windows, by Vlad Losev.
2009-03-11 18:31:26 +00:00
zhanyong.wan
0af0709b02
Cleans up macro definitions.
2009-02-23 23:21:55 +00:00
zhanyong.wan
3750499433
Adds tests for EXPECT_FATAL_FAILURE and reduces the golden file bloat (by Zhanyong Wan). Fixes more warnings on Windows (by Vlad Losev).
2009-02-06 00:47:20 +00:00
zhanyong.wan
4b83461e97
Fixes some warnings when compiled with MSVC at warning level 4.
2009-01-29 06:49:00 +00:00
vladlosev
1998cf5d32
Allow Google Mock to initialize Google Test
2008-11-26 20:48:45 +00:00
shiqian
c440a6923a
Enables the Python tests to run with 2.3 (necessary for testing on Mac OS X Tiger); also fixes gtest_output_test when built with xcode.
2008-11-24 20:13:22 +00:00
vladlosev
3d70421763
Value-parameterized tests and many bugfixes
2008-11-20 01:40:35 +00:00
shiqian
d2849f5730
Makes Google Test compile on Solaris and z/OS. By Rainer Klaffenboeck.
2008-11-10 18:27:46 +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
36865d8d35
Adds exception assertions. By balaz.dan@gmail.com.
2008-09-12 20:57:22 +00:00
shiqian
a2b1a8556e
Adds support for type-parameterized tests (by Zhanyong Wan); also adds case-insensitive wide string comparison to the String class (by Vlad Losev).
2008-09-08 17:55:52 +00:00
shiqian
d5f13d4a25
Changes test creation functions to factories. By Vlad Losev.
2008-08-06 21:44:19 +00:00
shiqian
b758726396
Fixes some style nits; also fixes minor bugs in gtest-death-test.cc.
2008-07-23 20:28:27 +00:00
shiqian
e4e9a8bd7d
Makes the autotools scripts work on Mac OS X. Also hopefully makes gtest compile on Windows CE.
2008-07-08 21:32:17 +00:00
shiqian
d201456903
Initial import.
2008-07-03 22:38:12 +00:00