Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move everything in googletest into googletest/googletest | Billy Donahue | 2015-08-25 | 1 | -1427/+0 |
| | |||||
* | Control death test with an #ifdef guard. | kosak | 2015-07-14 | 1 | -0/+4 |
| | |||||
* | Work around some unsigned->signed warnings in our tests/. | kosak | 2015-04-28 | 1 | -12/+12 |
| | | | | Thanks to Diego Barrios Romero <eldruin@gmail.com>. | ||||
* | Push upstream to SVN. | billydonahue | 2014-05-15 | 1 | -40/+30 |
| | |||||
* | Implement threading support for gtest on Windows. | kosak | 2014-03-24 | 1 | -1/+67 |
| | | | | Also, stop using localtime(). Instead, use localtime_r() on most systems, localtime_s() on Windows. | ||||
* | avoids clash with the max() macro on Windows | zhanyong.wan | 2013-09-18 | 1 | -7/+5 |
| | |||||
* | makes gtest-death-test_test.cc compile on platforms that don't support death ↵ | zhanyong.wan | 2013-07-08 | 1 | -20/+21 |
| | | | | tests; h/t to Steve Robbins for reporting the issue and suggesting the fix. | ||||
* | Fixes unused function warning on Mac, and fixes compatibility with newer GCC. | zhanyong.wan | 2013-02-28 | 1 | -2/+2 |
| | |||||
* | Unfortunately, the svn repo is a bit out of date. This commit contains 8 | jgm | 2012-11-15 | 1 | -14/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Misc small updates to some debug death code, and to messages streaming to macros | jgm | 2012-03-09 | 1 | -18/+14 |
| | |||||
* | Improves conformance to the Google C++ Style Guide (by Greg Miller). | vladlosev | 2011-11-04 | 1 | -0/+1 |
| | |||||
* | Adds support for detection of running in death test child processes. | vladlosev | 2011-10-28 | 1 | -0/+21 |
| | |||||
* | Fixes test failure on 32-bit Ubuntu. | vladlosev | 2011-10-05 | 1 | -1/+2 |
| | |||||
* | Ignore SIGPROF signal during clone()/fork() call. clone()/fork() call hangs ↵ | vladlosev | 2011-09-09 | 1 | -0/+55 |
| | | | | permanently if it consumes more cpu than the SIGPROF signal timer interval (by Nabeel Mian). | ||||
* | Indents preprocessor directives. | zhanyong.wan | 2011-02-22 | 1 | -55/+73 |
| | |||||
* | Add markers to death test messages to make them more recogizable (by Jeff ↵ | zhanyong.wan | 2011-02-02 | 1 | -3/+59 |
| | | | | Shute). | ||||
* | Modifies handling of C++ exceptions in death tests to treat exceptions ↵ | vladlosev | 2010-10-18 | 1 | -2/+5 |
| | | | | escaping them as failures. | ||||
* | Makes gtest wokr on MinGW (by Vlad Losev); removes unused ↵ | zhanyong.wan | 2010-10-11 | 1 | -1/+1 |
| | | | | linked_ptr::release() method (by Zhanyong Wan). | ||||
* | Include gtest headers as user headers instead of system headers. | zhanyong.wan | 2010-09-14 | 1 | -4/+4 |
| | |||||
* | Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵ | zhanyong.wan | 2010-08-09 | 1 | -11/+0 |
| | | | | improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev). | ||||
* | Fixes an 'unreachable code' warning by MSVC on certain opt settings in ↵ | vladlosev | 2010-03-08 | 1 | -1/+6 |
| | | | | gtest-death-test_test.cc. | ||||
* | Modifies gtest-death-test_test not to use core-dumping API calls. | vladlosev | 2010-03-02 | 1 | -28/+25 |
| | |||||
* | Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵ | zhanyong.wan | 2010-02-24 | 1 | -2/+2 |
| | | | | Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth). | ||||
* | Adds support for alternate path separator on Windows, and make all tests ↵ | zhanyong.wan | 2010-02-02 | 1 | -18/+0 |
| | | | | pass with CMake and VC++ 9 (by Manuel Klimek). | ||||
* | Removes uses of GTEST_HAS_STD_STRING. | zhanyong.wan | 2009-12-16 | 1 | -2/+0 |
| | |||||
* | Implements test shuffling (by Zhanyong Wan, based on Josh Kelley's original ↵ | zhanyong.wan | 2009-09-30 | 1 | -1/+7 |
| | | | | | | patch). Enables death tests on minGW (by Vlad Losev). | ||||
* | Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan). | zhanyong.wan | 2009-09-30 | 1 | -8/+11 |
| | | | | | | Renames EventListenrs to TestEventListeners (by Zhanyong Wan). Fixes invalid characters in XML report (by Vlad Losev). Refacotrs SConscript (by Vlad Losev). | ||||
* | Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) ↵ | zhanyong.wan | 2009-09-17 | 1 | -3/+4 |
| | | | | enabled. | ||||
* | Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renames | zhanyong.wan | 2009-09-16 | 1 | -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.wan | 2009-09-11 | 1 | -2/+75 |
| | | | | 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). | ||||
* | Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad ↵ | zhanyong.wan | 2009-09-01 | 1 | -3/+3 |
| | | | | Losev). | ||||
* | Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility ↵ | zhanyong.wan | 2009-08-07 | 1 | -0/+38 |
| | | | | 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.wan | 2009-07-22 | 1 | -3/+3 |
| | | | | refactors scons script (by Vlad Losev). | ||||
* | More refactoring for the event listener API, by Vlad Losev. | zhanyong.wan | 2009-07-16 | 1 | -6/+1 |
| | |||||
* | Refactors for the event listener API (by Vlad Losev): hides some methods in ↵ | zhanyong.wan | 2009-06-25 | 1 | -11/+10 |
| | | | | UnitTest; implements the result printers using the public API. | ||||
* | Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵ | zhanyong.wan | 2009-04-24 | 1 | -2/+2 |
| | | | | SConscript (by Vlad Losev). | ||||
* | Simplifies implementation by defining a POSIX portability layer; adds the ↵ | zhanyong.wan | 2009-03-26 | 1 | -13/+4 |
| | | | | death test style flag to --help. | ||||
* | Cleans up death test implementation (by Vlad Losev); changes the XML format ↵ | zhanyong.wan | 2009-03-24 | 1 | -12/+5 |
| | | | | to be closer to junitreport (by Zhanyong Wan). | ||||
* | Enables death tests on Cygwin and Mac (by Vlad Losev); fixes a python test ↵ | zhanyong.wan | 2009-03-17 | 1 | -2/+3 |
| | | | | on Mac. | ||||
* | Implements the --help flag; fixes tests on Windows. | zhanyong.wan | 2009-03-11 | 1 | -0/+13 |
| | |||||
* | Fixes death-test-related tests on Windows, by Vlad Losev. | zhanyong.wan | 2009-03-11 | 1 | -3/+6 |
| | |||||
* | Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵ | zhanyong.wan | 2009-03-06 | 1 | -9/+259 |
| | | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX. | ||||
* | Cleans up macro definitions. | zhanyong.wan | 2009-02-23 | 1 | -3/+3 |
| | |||||
* | Implements the --gtest_death_test_use_fork flag and StaticAssertTypeEq. | shiqian | 2009-01-08 | 1 | -6/+17 |
| | |||||
* | Many changes: | shiqian | 2008-10-11 | 1 | -7/+7 |
| | | | | | | | | | | | | - 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). | ||||
* | Improves thread-safe death tests by changing to the original working ↵ | shiqian | 2008-09-12 | 1 | -28/+62 |
| | | | | directory before they are executed; also fixes out-dated comments about death tests. | ||||
* | Fixes the definition of GTEST_ATTRIBUTE_UNUSED and make the tests pass in ↵ | shiqian | 2008-08-01 | 1 | -27/+2 |
| | | | | opt mode. | ||||
* | Initial import. | shiqian | 2008-07-03 | 1 | -0/+862 |