aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Removes support for MSVC 7.1 from the scons scripts.zhanyong.wan2009-12-231-3/+1
|
* Supports building gtest as a DLL (by Vlad Losev).zhanyong.wan2009-12-181-0/+498
|
* Removes uses of GTEST_HAS_STD_STRING.zhanyong.wan2009-12-166-43/+40
|
* Moves mis-placed tests.zhanyong.wan2009-12-162-49/+49
|
* Turns on -Wshadow (by Preston Jackson).zhanyong.wan2009-12-163-8/+8
|
* Refactors run_tests.py s.t. it can be shared by gmock (by Vlad Losev); Fixes ↵zhanyong.wan2009-11-244-29/+539
| | | | a warning in gtest-tuple_test.cc on Cygwin (by Vlad Losev).
* Implements the element_type typedef in testing::internal::scoped_ptr. This ↵vladlosev2009-11-171-0/+8
| | | | is needed to test gmock's IsNull/NotNull with it.
* Prevents Google Test from printing help message upon seeing the ↵vladlosev2009-11-171-43/+95
| | | | --gtest_stack_trace_depth flag. This was breaking gmock_output_test.
* Blocks test binaries from inheriting GTEST_OUTPUT variable when invoked from ↵vladlosev2009-11-171-0/+8
| | | | Python test scripts (fixes issue 223).
* Improves the scons scripts and run_tests.py (by Vlad Losev); uses typed ↵zhanyong.wan2009-11-132-3/+7
| | | | tests in gtest-port_test.cc only when typed tests are available (by Zhanyong Wan); makes gtest-param-util-generated.h conform to the C++ standard (by Zhanyong Wan).
* Prints help when encountering unrecognized Google Test flags.vladlosev2009-10-221-5/+41
|
* Implements support for AssertionResult in Boolean assertions such as ↵vladlosev2009-10-203-21/+301
| | | | 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.
* Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original ↵zhanyong.wan2009-09-304-7/+737
| | | | | | patch). Enables death tests on minGW (by Vlad Losev).
* Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).zhanyong.wan2009-09-308-120/+154
| | | | | | 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-247-119/+68
| | | | to simplify gtest code (by Zhanyong Wan).
* Adds a Random class to support --gtest_shuffle (by Josh Kelley); Makes the ↵zhanyong.wan2009-09-211-0/+44
| | | | 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-182-29/+29
| | | | the event listener interface (by Vlad Losev).
* Makes gtest compile cleanly with MSVC's warning 4511 & 4512 (copy ctor /zhanyong.wan2009-09-181-0/+2
| | | | assignment operator cannot be generated) enabled.
* Renames the methods in the event listener API, and changes the order of *End ↵zhanyong.wan2009-09-172-71/+219
| | | | events (by Vlad Losev).
* Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) ↵zhanyong.wan2009-09-172-14/+15
| | | | enabled.
* Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renameszhanyong.wan2009-09-161-6/+6
| | | | | GTEST_HIDE_UNREACHABLE_CODE_ to GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ (by Vlad Losev).
* 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).