aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More implementation of the event listener interface (by Vlad Losev); Reduces ↵zhanyong.wan2009-09-0416-292/+1173
| | | | 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-018-140/+604
| | | | Losev).
* Updating for Snow Leopard. Cleaning up the sample code. Updating the README ↵preston.a.jackson2009-08-285-88/+70
| | | | with instructions for installation from the command line.
* Adds /MD(d) versions of VC++ projects.vladlosev2009-08-285-0/+758
|
* Fixes an uninitialized field in class OsStackTraceGetter.zhanyong.wan2009-08-261-1/+1
|
* Cleaning up gtest.xcode. Removing old tests, using gtest-all.cc, adding a ↵preston.a.jackson2009-08-217-4010/+332
| | | | static libgtest.a and a static libgtest_main.a, fixing the sample code to work with changes.
* Fix the 'make dist' behavior to include gtest-tuple.h and gtest-tuple.h.pump.chandlerc2009-08-111-0/+2
| | | | | | | | | Missing these caused failures on platforms depending on them as well as general failures of the dedicated tests for the tuple implementation. Change was tested by running 'make distcheck' and then extracting the result to an entirely separate location (a subdirectory is insufficient, thank you Autotools) and running './configure; make check'.
* Unbreak the build for Solaris by selecting the correct include headers for itschandlerc2009-08-101-2/+4
| | | | | | POSIX regex support. Patch contributed by Monty Taylor <monty.taylor@gmail.com> to the protocol buffer project, and relayed by Kenton to GoogleTest. Tweaked to include the new define in the #endif comment.
* Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility ↵zhanyong.wan2009-08-078-56/+88
| | | | with Symbian (by Araceli Checa); Removes GetCapturedStderr()'s dependency on std::string (by Vlad Losev).
* Makes gtest compilable on Win CE.zhanyong.wan2009-07-231-2/+7
|
* Makes gtest compile clean with gcc -Wall -Werror (by Zhanyong Wan); ↵zhanyong.wan2009-07-2211-146/+151
| | | | refactors scons script (by Vlad Losev).
* More refactoring for the event listener API, by Vlad Losev.zhanyong.wan2009-07-1611-324/+729
|
* 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-146-12/+249
| | | | Kelley.
* Adds color support for TERM=linux (by Alexander Demin); renames List to ↵zhanyong.wan2009-07-1310-132/+208
| | | | Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev).
* Makes List a random-access data structure. This simplifies the ↵zhanyong.wan2009-07-017-441/+326
| | | | 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-0112-284/+289
| | | | hides methods that we don't want to publish; makes win-dbg8 the default scons configuration (all by Vlad Losev).
* Makes list traversal O(N) instead of O(N^2) (by Zhanyong Wan).zhanyong.wan2009-06-251-12/+51
|
* Refactors for the event listener API (by Vlad Losev): hides some methods in ↵zhanyong.wan2009-06-255-138/+139
| | | | UnitTest; implements the result printers using the public API.
* Makes gtest's tuple implementation work with Symbian 5th edition by ↵zhanyong.wan2009-06-246-131/+454
| | | | 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-226-148/+191
| | | | 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-193-27/+72
|
* Moves TestResult from gtest-internal-inl.h to gtest.h to prepare for the ↵zhanyong.wan2009-06-194-292/+301
| | | | 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-1911-19/+69
|
* Fixes broken gtest_unittest on Cygwin and cleans it up (by Vlad Losev); ↵zhanyong.wan2009-06-195-57/+56
| | | | 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-1723-161/+1941
| | | | Wan); cleaned up the Python tests (by Vlad Losev); made run_tests.py invokable from any directory (by Vlad Losev).
* Fixes the logic for determining whether cxxabi.h is available.zhanyong.wan2009-06-112-8/+12
|
* Works around a gcc bug when compiling tr1/tuple with RTTI disabled.zhanyong.wan2009-06-113-7/+52
|
* Fixes a typo in run_tests.py and its test (by Vlad Losev).zhanyong.wan2009-06-112-2/+2
|
* Enables tr1 tuple on Symbian.zhanyong.wan2009-06-091-2/+20
|
* Adds run_tests.py for running the tests (by Vlad Losev).zhanyong.wan2009-06-092-0/+960
|
* Adds support for xterm-256color (by Michihiro Kuramochi).zhanyong.wan2009-06-092-1/+3
|
* 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-052-0/+23
|
* Removes dead code (by Vlad Losev). Fixes tr1 tuple's path on gcc version ↵zhanyong.wan2009-05-053-12/+4
| | | | 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-2813-203/+810
|
* Ports gtest to minGW (by Kenton Varda).zhanyong.wan2009-04-255-14/+402
|
* Makes --gtest_list_tests honor the test filter (by Jay Campan).zhanyong.wan2009-04-245-40/+85
|
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-2413-110/+107
| | | | SConscript (by Vlad Losev).
* Makes gtest print elapsed time by default.zhanyong.wan2009-04-144-13/+14
|
* Makes the Python tests more stable (by Vlad Losev); fixes a memory leak in ↵zhanyong.wan2009-04-0915-198/+255
| | | | 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-078-4/+189
| | | | thread count on Mac (by Vlad Losev); adds HasFailure() and HasNonfatalFailure() (by Zhanyong Wan).
* Fixes the comment about GTEST_ATTRIBUTE_UNUSED_.zhanyong.wan2009-04-031-3/+6
|
* Fixes the scons script to build gtest-death-test_test on Linux.zhanyong.wan2009-04-021-15/+22
|
* Cleans up the use of GTEST_OS_WINDOWS and _MSC_VER.zhanyong.wan2009-03-315-24/+13
|
* Fixes a MSVC warning (by Vlad Losev); fixes SConscript to work with VC 7.1 ↵zhanyong.wan2009-03-313-3/+7
| | | | and exceptions enabled (by Zhanyong Wan).
* Fixes MSVC casting warning.zhanyong.wan2009-03-271-2/+2
|