aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fixes the bug where the XML output path is affected by test changing the ↵zhanyong.wan2009-01-262-23/+224
| | | | current directory. By Stefan Weigand.
* Implements --gtest_also_run_disabled_tests. By Eric Roman.shiqian2009-01-107-12/+241
|
* Implements the --gtest_death_test_use_fork flag and StaticAssertTypeEq.shiqian2009-01-086-6/+135
|
* Use <tuple> instead of <tr1/tuple> when the compiler is not gcc, to conform ↵shiqian2008-12-091-4/+0
| | | | with the TR1 spec.
* Allow Google Mock to initialize Google Testvladlosev2008-11-261-1/+67
|
* Adding test/gtest_uninitialized_test.py missing from the previous check-invladlosev2008-11-261-14/+4
|
* Fixed gtest_break_on_failure_unittest on Ubuntu 8.04 and Windowsvladlosev2008-11-265-45/+101
|
* 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.
* Fixed two of the failing tests mentioned in issue 9vladlosev2008-11-223-9/+34
|
* Value-parameterized tests and many bugfixesvladlosev2008-11-2011-50/+1392
|
* Many changes:shiqian2008-10-1112-154/+889
| | | | | | | | | | | | - 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-265-52/+204
| | | | | | | | * 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.
* Makes the Python tests more portable by calling standard functions to ↵shiqian2008-09-186-22/+35
| | | | interpret the result of os.system(). This could fix the broken Python tests on some users' machines.
* Makes Google Test compile (and all tests pass) on cygwin (possibly on wingw ↵shiqian2008-09-181-1/+19
| | | | too).
* 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-123-29/+101
| | | | directory before they are executed; also fixes out-dated comments about death tests.
* Adds new files for type-parameterized tests, which I forgot to commit in the ↵shiqian2008-09-093-0/+461
| | | | previous revision.
* Adds support for type-parameterized tests (by Zhanyong Wan); also adds ↵shiqian2008-09-087-11/+346
| | | | 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
|