aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixes MSVC warnings in 64-bit mode.zhanyong.wan2010-02-251-10/+11
|
* Simplifies the implementation by using std::vector instead of Vector.zhanyong.wan2010-02-251-91/+95
|
* Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵zhanyong.wan2010-02-241-1/+1
| | | | Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth).
* Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes ↵zhanyong.wan2010-01-281-3/+5
| | | | unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek).
* Implements stdout capturing (by Vlad Losev); fixes compiler error on NVCC ↵zhanyong.wan2010-01-271-0/+3
| | | | (by Zhanyong Wan).
* Changes Message() to print double with enough precision by default.zhanyong.wan2010-01-081-10/+8
|
* Removes uses of GTEST_HAS_STD_STRING.zhanyong.wan2009-12-161-14/+0
|
* Turns on -Wshadow (by Preston Jackson).zhanyong.wan2009-12-161-21/+22
|
* Exposes SkipPrefix s.t. it can be used by gmock (by Vlad Losev).zhanyong.wan2009-12-011-12/+12
|
* Prevents Google Test from printing help message upon seeing the ↵vladlosev2009-11-171-5/+7
| | | | --gtest_stack_trace_depth flag. This was breaking gmock_output_test.
* Fixes linker error when used with gMock on Windowsvladlosev2009-10-231-3/+3
|
* Prints help when encountering unrecognized Google Test flags.vladlosev2009-10-221-1/+31
|
* Implements support for AssertionResult in Boolean assertions such as ↵vladlosev2009-10-201-5/+35
| | | | 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.
* Fixes: Scons build file broken when used in another SConstruct; warning in ↵vladlosev2009-10-141-1/+2
| | | | VC 8.0 when compiled with /Wp64
* Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original ↵zhanyong.wan2009-09-301-15/+91
| | | | | | patch). Enables death tests on minGW (by Vlad Losev).
* Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).zhanyong.wan2009-09-301-38/+89
| | | | | | Renames EventListenrs to TestEventListeners (by Zhanyong Wan). Fixes invalid characters in XML report (by Vlad Losev). Refacotrs SConscript (by Vlad Losev).
* Publishes the even listener API (by Vlad Losev); adds OS-indicating macros ↵zhanyong.wan2009-09-241-59/+44
| | | | to simplify gtest code (by Zhanyong Wan).
* Adds a Random class to support --gtest_shuffle (by Josh Kelley); Makes the ↵zhanyong.wan2009-09-211-1/+20
| | | | scons script build in a deterministic order (by Zhanyong Wan).
* Renames the TestPartResult type enums and adjusts the order of methods in ↵zhanyong.wan2009-09-181-50/+52
| | | | the event listener interface (by Vlad Losev).
* Renames the methods in the event listener API, and changes the order of *End ↵zhanyong.wan2009-09-171-67/+101
| | | | events (by Vlad Losev).
* Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) ↵zhanyong.wan2009-09-171-1/+2
| | | | enabled.
* Removes deprecated /Wp64 flag from VC projects; also removes unneeded VC ↵zhanyong.wan2009-09-111-2/+3
| | | | projects.
* More implementation of the event listener interface (by Vlad Losev); Reduces ↵zhanyong.wan2009-09-041-212/+239
| | | | 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).
* Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad ↵zhanyong.wan2009-09-011-51/+32
| | | | Losev).
* Makes gtest compilable on Win CE.zhanyong.wan2009-07-231-2/+7
|
* More refactoring for the event listener API, by Vlad Losev.zhanyong.wan2009-07-161-35/+21
|
* Makes gtest report failures to Visual Studio's Output window. Based on code ↵zhanyong.wan2009-07-151-4/+14
| | | | by Alexander Demin.
* Adds the command line flags needed for test shuffling. Most code by Josh ↵zhanyong.wan2009-07-141-7/+50
| | | | Kelley.
* Adds color support for TERM=linux (by Alexander Demin); renames List to ↵zhanyong.wan2009-07-131-9/+10
| | | | Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
* Makes List a random-access data structure. This simplifies the ↵zhanyong.wan2009-07-011-70/+48
| | | | implementation and makes it easier to implement test shuffling.
* Reduces the flakiness of gtest-port_test on Mac; improves the Python tests; ↵zhanyong.wan2009-07-011-11/+0
| | | | hides methods that we don't want to publish; makes win-dbg8 the default scons configuration (all by Vlad Losev).
* Refactors for the event listener API (by Vlad Losev): hides some methods in ↵zhanyong.wan2009-06-251-91/+76
| | | | UnitTest; implements the result printers using the public API.
* Makes gtest's tuple implementation work with Symbian 5th edition by ↵zhanyong.wan2009-06-241-88/+204
| | | | bypassing 2 compiler bugs (by Zhanyong Wan); refactors for the event listener API (by Vlad Losev).
* Turns on exceptions when compiling gtest_output_test (by Vlad Losev); moves ↵zhanyong.wan2009-06-221-2/+25
| | | | TestCase to gtest.h to prepare for the event listener API (by Vlad Losev).
* Moves TestResult from gtest-internal-inl.h to gtest.h to prepare for the ↵zhanyong.wan2009-06-191-11/+18
| | | | even listener API work (by Vlad Losev); cleans up the scons script (by Zhanyong Wan).
* Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).zhanyong.wan2009-06-191-3/+3
|
* Adds support for xterm-256color (by Michihiro Kuramochi).zhanyong.wan2009-06-091-1/+2
|
* Uses DebugBreak() to properly break on Windows (by Vlad Losev).zhanyong.wan2009-05-051-0/+7
|
* Ports gtest to C++Builder, by Josh Kelley.zhanyong.wan2009-04-281-6/+15
|
* Ports gtest to minGW (by Kenton Varda).zhanyong.wan2009-04-251-12/+12
|
* Makes --gtest_list_tests honor the test filter (by Jay Campan).zhanyong.wan2009-04-241-18/+29
|
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-241-11/+11
| | | | SConscript (by Vlad Losev).
* Makes gtest print elapsed time by default.zhanyong.wan2009-04-141-7/+6
|
* Adds sample4_unittest to scons (by Vlad Losev); adds logic for getting the ↵zhanyong.wan2009-04-071-1/+17
| | | | thread count on Mac (by Vlad Losev); adds HasFailure() and HasNonfatalFailure() (by Zhanyong Wan).
* Cleans up the use of GTEST_OS_WINDOWS and _MSC_VER.zhanyong.wan2009-03-311-3/+3
|
* Simplifies implementation by defining a POSIX portability layer; adds the ↵zhanyong.wan2009-03-261-60/+21
| | | | death test style flag to --help.
* Cleans up death test implementation (by Vlad Losev); changes the XML format ↵zhanyong.wan2009-03-241-4/+4
| | | | to be closer to junitreport (by Zhanyong Wan).
* Implements the --help flag; fixes tests on Windows.zhanyong.wan2009-03-111-13/+132
|
* Implements --gtest_throw_on_failure for using gtest with other testing ↵zhanyong.wan2009-03-061-12/+55
| | | | frameworks.
* Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵zhanyong.wan2009-03-061-6/+32
| | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX.