aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Change a few visibilities to work around a bug in g++ 3.4.2.tsunanet2009-05-181-2/+2
| | | | | | | | | | | | | | | 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>
* Ports gtest to C++Builder, by Josh Kelley.zhanyong.wan2009-04-281-167/+289
|
* Makes gtest print elapsed time by default.zhanyong.wan2009-04-141-5/+5
|
* Adds sample4_unittest to scons (by Vlad Losev); adds logic for getting the ↵zhanyong.wan2009-04-071-0/+85
| | | | 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
|
* Implements --gtest_throw_on_failure for using gtest with other testing ↵zhanyong.wan2009-03-061-2/+69
| | | | frameworks.
* Cleans up macro definitions.zhanyong.wan2009-02-231-98/+98
|
* Adds gtest_all_test.cc. Also cleans up gtest_unittest.cc.zhanyong.wan2009-02-091-19/+0
|
* Implements the test sharding protocol. By Eric Fellheimer.zhanyong.wan2009-02-091-0/+158
|
* Fixes the definition of GTEST_HAS_EXCEPTIONS, allowing exception assertions ↵zhanyong.wan2009-02-081-27/+35
| | | | to be used with gcc.
* Adds tests for EXPECT_FATAL_FAILURE and reduces the golden file bloat (by ↵zhanyong.wan2009-02-061-16/+72
| | | | 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-291-6/+6
|
* Implements --gtest_also_run_disabled_tests. By Eric Roman.shiqian2009-01-101-1/+66
|
* Implements the --gtest_death_test_use_fork flag and StaticAssertTypeEq.shiqian2009-01-081-0/+59
|
* Allow Google Mock to initialize Google Testvladlosev2008-11-261-1/+67
|
* Enables the Python tests to run with 2.3 (necessary for testing on Mac OS X ↵shiqian2008-11-241-0/+28
| | | | Tiger); also fixes gtest_output_test when built with xcode.
* Value-parameterized tests and many bugfixesvladlosev2008-11-201-0/+17
|
* Many changes:shiqian2008-10-111-133/+308
| | | | | | | | | | | | - 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).
* Lots of changes:shiqian2008-09-261-0/+24
| | | | | | | | * changes the XML report format to match JUnit/Ant's. * improves file path handling. * allows the user to disable RTTI using the GTEST_HAS_RTTI macro. * makes the code compile with -Wswitch-enum.
* Adds suffix 'd' to gtest's libs on Windows. Also fixes gtest_unittest on ↵shiqian2008-09-131-57/+12
| | | | non-English Windows. By balazs.dan@gmail.com.
* Adds exception assertions. By balaz.dan@gmail.com.shiqian2008-09-121-0/+185
|
* Improves thread-safe death tests by changing to the original working ↵shiqian2008-09-121-1/+7
| | | | directory before they are executed; also fixes out-dated comments about death tests.
* Adds support for type-parameterized tests (by Zhanyong Wan); also adds ↵shiqian2008-09-081-1/+75
| | | | case-insensitive wide string comparison to the String class (by Vlad Losev).
* Implement wide->UTF-8 string conversion more correctlyvladlosev2008-08-251-26/+146
|
* Cleans up the usage of testing:: in gtest_unittest. By Zhanyong Wan.shiqian2008-08-061-170/+143
|
* Makes gtest work on Windows Mobile and Symbian. By Mika Raento.shiqian2008-07-311-2/+28
|
* Adds --gtest_print_test for printing the elapsed time of tests.shiqian2008-07-251-0/+95
|
* Makes Google Test compile on Mac OS X and Cygwin, and adds project files for ↵shiqian2008-07-091-3/+5
| | | | Microsoft Visual Studio.
* Initial import.shiqian2008-07-031-0/+4299