aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Improves EXPECT_DEATH_IF_SUPPORTED to allow streaming of messages and ↵zhanyong.wan2009-09-117-34/+90
| | | | 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).
* More implementation of the event listener interface (by Vlad Losev); Reduces ↵zhanyong.wan2009-09-045-7/+625
| | | | 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-012-18/+142
| | | | Losev).
* Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility ↵zhanyong.wan2009-08-073-34/+54
| | | | with Symbian (by Araceli Checa); Removes GetCapturedStderr()'s dependency on std::string (by Vlad Losev).
* Makes gtest compile clean with gcc -Wall -Werror (by Zhanyong Wan); ↵zhanyong.wan2009-07-228-99/+84
| | | | refactors scons script (by Vlad Losev).
* More refactoring for the event listener API, by Vlad Losev.zhanyong.wan2009-07-164-137/+524
|
* Adds the command line flags needed for test shuffling. Most code by Josh ↵zhanyong.wan2009-07-142-3/+143
| | | | Kelley.
* Adds color support for TERM=linux (by Alexander Demin); renames List to ↵zhanyong.wan2009-07-133-56/+121
| | | | Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
* Makes List a random-access data structure. This simplifies the ↵zhanyong.wan2009-07-012-132/+186
| | | | 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-018-230/+238
| | | | 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-252-15/+13
| | | | UnitTest; implements the result printers using the public API.
* Makes gtest's tuple implementation work with Symbian 5th edition by ↵zhanyong.wan2009-06-241-9/+95
| | | | 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-7/+35
| | | | TestCase to gtest.h to prepare for the event listener API (by Vlad Losev).
* Fixes the broken run_tests_test (by Vlad Losev).zhanyong.wan2009-06-192-20/+63
|
* Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).zhanyong.wan2009-06-192-0/+9
|
* Fixes broken gtest_unittest on Cygwin and cleans it up (by Vlad Losev); ↵zhanyong.wan2009-06-192-21/+17
| | | | fixes the wrong usage of os.environ.clear() in gtest_output_test.py (by Vlad Losev); fixes the logic for detecting Symbian (by Zhanyong Wan); moves TestProperty for event listener (by Vlad Losev).
* Implements a subset of TR1 tuple needed by gtest and gmock (by Zhanyong ↵zhanyong.wan2009-06-1716-111/+524
| | | | Wan); cleaned up the Python tests (by Vlad Losev); made run_tests.py invokable from any directory (by Vlad Losev).
* Fixes a typo in run_tests.py and its test (by Vlad Losev).zhanyong.wan2009-06-111-1/+1
|
* Adds run_tests.py for running the tests (by Vlad Losev).zhanyong.wan2009-06-091-0/+527
|
* Adds support for xterm-256color (by Michihiro Kuramochi).zhanyong.wan2009-06-091-0/+1
|
* Adds missing copyright in test/gtest-test-part_test.cc (by Markus Heule). ↵zhanyong.wan2009-05-296-5/+43
| | | | Minor format adjustments.
* Change a few visibilities to work around a bug in g++ 3.4.2.tsunanet2009-05-182-3/+3
| | | | | | | | | | | | | | | It looks like this version of g++ is confused by the local class generated by the TEST_F macro and it can't tell that we're in a method that inherits the class we want to access. This bug causes the following kind of error: ../samples/../test/gtest_unittest.cc: In static member function `static void <unnamed>::ExpectFatalFailureTest_CatchesFatalFaliure_Test::TestBody()::GTestExpectFatalFailureHelper::Execute()': ../samples/../test/gtest_unittest.cc:799: error: `static void <unnamed>::ScopedFakeTestPartResultReporterTest::AddFailure(<unnamed>::ScopedFakeTestPartResultReporterTest::FailureMode)' is protected ../samples/../test/gtest_unittest.cc:883: error: within this context Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
* Fixes the broken gtest_break_on_failure_unittest.py.zhanyong.wan2009-05-071-0/+2
|
* Uses DebugBreak() to properly break on Windows (by Vlad Losev).zhanyong.wan2009-05-051-0/+16
|
* Removes dead code (by Vlad Losev). Fixes tr1 tuple's path on gcc version ↵zhanyong.wan2009-05-052-8/+0
| | | | before 4.0.0 (by Zhanyong Wan).
* Trivial source code format tweak.zhanyong.wan2009-04-292-6/+0
|
* Ports gtest to C++Builder, by Josh Kelley.zhanyong.wan2009-04-281-167/+289
|
* Makes --gtest_list_tests honor the test filter (by Jay Campan).zhanyong.wan2009-04-242-19/+40
|
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-245-13/+14
| | | | SConscript (by Vlad Losev).
* Makes gtest print elapsed time by default.zhanyong.wan2009-04-143-6/+8
|
* Makes the Python tests more stable (by Vlad Losev); fixes a memory leak in ↵zhanyong.wan2009-04-0913-140/+178
| | | | GetThreadCount() on Mac (by Vlad Losev); improves fuse_gtest_files.py to support fusing Google Mock files (by Zhanyong Wan).
* Adds sample4_unittest to scons (by Vlad Losev); adds logic for getting the ↵zhanyong.wan2009-04-072-0/+128
| | | | 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-4/+4
|
* Fixes a MSVC warning (by Vlad Losev); fixes SConscript to work with VC 7.1 ↵zhanyong.wan2009-03-311-1/+0
| | | | and exceptions enabled (by Zhanyong Wan).
* Simplifies implementation by defining a POSIX portability layer; adds the ↵zhanyong.wan2009-03-265-65/+21
| | | | death test style flag to --help.
* Cleans up death test implementation (by Vlad Losev); changes the XML format ↵zhanyong.wan2009-03-244-32/+26
| | | | to be closer to junitreport (by Zhanyong Wan).
* Fixes two tests on Cygwin, which has no python 2.4.zhanyong.wan2009-03-172-2/+2
|
* Enables death tests on Cygwin and Mac (by Vlad Losev); fixes a python test ↵zhanyong.wan2009-03-172-3/+4
| | | | on Mac.
* Implements the --help flag; fixes tests on Windows.zhanyong.wan2009-03-117-30/+233
|
* Fixes death-test-related tests on Windows, by Vlad Losev.zhanyong.wan2009-03-112-7/+10
|
* Implements --gtest_throw_on_failure for using gtest with other testing ↵zhanyong.wan2009-03-068-8/+412
| | | | frameworks.
* Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵zhanyong.wan2009-03-064-25/+313
| | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX.
* Cleans up macro definitions.zhanyong.wan2009-02-2318-237/+243
|
* Adds gtest_all_test.cc. Also cleans up gtest_unittest.cc.zhanyong.wan2009-02-092-19/+48
|
* Implements the test sharding protocol. By Eric Fellheimer.zhanyong.wan2009-02-097-41/+420
|
* Fixes the definition of GTEST_HAS_EXCEPTIONS, allowing exception assertions ↵zhanyong.wan2009-02-082-33/+55
| | | | to be used with gcc.
* Adds tests for EXPECT_FATAL_FAILURE and reduces the golden file bloat (by ↵zhanyong.wan2009-02-065-93/+92
| | | | Zhanyong Wan). Fixes more warnings on Windows (by Vlad Losev).
* Exposes gtest flags to user code access. By Alexander Demin.zhanyong.wan2009-02-021-0/+19
|
* Fixes some warnings when compiled with MSVC at warning level 4.zhanyong.wan2009-01-292-7/+7
|
* Implements a simple regex matcher (to be used by death tests on Windows).zhanyong.wan2009-01-291-12/+489
|