aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-death-test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-1340/+0
|
* Inject GTEST_EXTRA_DEATH_TEST_COMMAND_LINE_ARGS_kosak2015-07-241-0/+6
|
* Add injection point for GTEST_KILLED_BY_SIGNAL_OVERRIDE.kosak2015-07-191-0/+8
|
* Add support for --gtest_flagfilekosak2015-07-171-20/+0
|
* Reduce the number of occurrences of gendered pronouns in gtest.kosak2014-06-181-3/+3
|
* Disable asan instrumentation for StackGrowsDown().kosak2014-06-171-0/+2
|
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak2013-02-221-41/+44
| | | | truncates the result at 4096 chars. Also update an obsolete link in comment.
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm2012-11-151-35/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes that haven't made it to svn. The descriptions of each change are listed below. - Fixes some python shebang lines. - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of its input elements before the conversion to a Matcher. ElementsAreArray can now take a vector as input. ElementsAreArray can now take an iterator pair as input. - Templatize MatchAndExplain to allow independent string types for the matcher and matchee. I also templatized the ConstCharPointer version of MatchAndExplain to avoid calls with "char*" from using the new templated MatchAndExplain. - Fixes the bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. - Extends ElementsAre() to accept arrays whose sizes aren't known. - Switches gTest's internal FilePath class from testing::internal::String to std::string. testing::internal::String was introduced when gTest couldn't depend on std::string. It's now deprecated. - Switches gTest & gMock from using testing::internal::String objects to std::string. Some static methods of String are still in use. We may be able to remove some but not all of them. In particular, String::Format() should eventually be removed as it truncates the result at 4096 characters, often causing problems.
* fixes a problem in which we pass the address one byte ↵jgm2012-07-121-1/+12
| | | | | | | ~/svn/googletest/trunk after the end of stack space in a call to clone(). According to Linux's man page on clone(), the 'stack' parameter usually points to the topmost address of the memory space set up for the child stack. The existing code points one byte after the end
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-041-0/+1
|
* Adds support for detection of running in death test child processes.vladlosev2011-10-281-1/+31
|
* Adds ability to inject death test child arguments for test purposes.vladlosev2011-10-051-1/+6
|
* Ignore SIGPROF signal during clone()/fork() call. clone()/fork() call hangs ↵vladlosev2011-09-091-0/+21
| | | | permanently if it consumes more cpu than the SIGPROF signal timer interval (by Nabeel Mian).
* QNX compatibility patch (by Haruka Iwao).vladlosev2011-06-201-8/+52
|
* Suppresses the tail-call optimization of StackGrowsDown() in GCC4.6 (by Paul ↵vladlosev2011-06-131-4/+6
| | | | Pluzhnikov).
* fixes a problem caused by gcc 4.6 optimization (by Paul Pluzhnikov)zhanyong.wan2011-04-141-0/+5
|
* Fixes Windows CE compatibility problem (issue ↵vladlosev2011-03-301-1/+1
| | | | http://code.google.com/p/googletest/issues/detail?id=362).
* Indents preprocessor directives.zhanyong.wan2011-02-221-46/+64
|
* Add markers to death test messages to make them more recogizable (by Jeff ↵zhanyong.wan2011-02-021-5/+24
| | | | Shute).
* Modifies handling of C++ exceptions in death tests to treat exceptions ↵vladlosev2010-10-181-10/+23
| | | | escaping them as failures.
* Makes gtest wokr on MinGW (by Vlad Losev); removes unused ↵zhanyong.wan2010-10-111-8/+8
| | | | linked_ptr::release() method (by Zhanyong Wan).
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-4/+4
|
* Improves support for building Google Test as Windows DLL.vladlosev2010-05-051-1/+8
|
* Renames ThreadStartSempahore to Notificaton (by Vlad Losev); adds threading ↵zhanyong.wan2010-03-041-2/+0
| | | | tests for SCOPED_TRACE() (by Vlad Losev); replaces native pthread calls with gtest's threading constructs (by Vlad Losev); fixes flakiness in CountedDestructor (by Vlad Losev); minor MSVC 7.1 clean-up (by Zhanyong Wan).
* Turns on -Wshadow (by Preston Jackson).zhanyong.wan2009-12-161-16/+16
|
* Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan).zhanyong.wan2009-09-301-12/+13
| | | | | | Renames EventListenrs to TestEventListeners (by Zhanyong Wan). Fixes invalid characters in XML report (by Vlad Losev). Refacotrs SConscript (by Vlad Losev).
* Small code simplification (by Vlad Losev).zhanyong.wan2009-09-161-4/+3
|
* Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renameszhanyong.wan2009-09-161-14/+11
| | | | | GTEST_HIDE_UNREACHABLE_CODE_ to GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ (by Vlad Losev).
* More implementation of the event listener interface (by Vlad Losev); Reduces ↵zhanyong.wan2009-09-041-1/+5
| | | | 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).
* Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility ↵zhanyong.wan2009-08-071-6/+2
| | | | with Symbian (by Araceli Checa); Removes GetCapturedStderr()'s dependency on std::string (by Vlad Losev).
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-241-7/+7
| | | | SConscript (by Vlad Losev).
* Works around a VC bug by avoiding defining a function named strdup().zhanyong.wan2009-03-261-2/+2
|
* Simplifies implementation by defining a POSIX portability layer; adds the ↵zhanyong.wan2009-03-261-50/+7
| | | | death test style flag to --help.
* Makes gtest compile without warning with gcc 4.0.3 and -Wall -Wextra.zhanyong.wan2009-03-251-1/+1
|
* Cleans up death test implementation (by Vlad Losev); changes the XML format ↵zhanyong.wan2009-03-241-347/+252
| | | | to be closer to junitreport (by Zhanyong Wan).
* Enables death tests on Cygwin and Mac (by Vlad Losev); fixes a python test ↵zhanyong.wan2009-03-171-21/+52
| | | | on Mac.
* Fixes a typo in Vlad's email address.zhanyong.wan2009-03-111-1/+1
|
* Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵zhanyong.wan2009-03-061-127/+615
| | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX.
* Cleans up macro definitions.zhanyong.wan2009-02-231-7/+7
|
* Implements the --gtest_death_test_use_fork flag and StaticAssertTypeEq.shiqian2009-01-081-2/+23
|
* Many changes:shiqian2008-10-111-34/+34
| | | | | | | | | | | | - 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/+1
| | | | | | | | * 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.
* Improves thread-safe death tests by changing to the original working ↵shiqian2008-09-121-1/+22
| | | | directory before they are executed; also fixes out-dated comments about death tests.
* Makes gtest work on Windows Mobile and Symbian. By Mika Raento.shiqian2008-07-311-0/+2
|
* Fixes some style nits; also fixes minor bugs in gtest-death-test.cc.shiqian2008-07-231-2/+2
|
* Initial import.shiqian2008-07-031-0/+751