aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-port.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-1221/+0
|
* Order the initializers correctly.kosak2015-07-271-2/+2
|
* Inject GetArgvs() with a macro from custom/gtest-port.h.kosak2015-07-241-4/+1
|
* Inject implementation of *FromGTestEnv using macros.kosak2015-07-241-0/+9
|
* Determine the existence of hash_map/hash_set in gtest-port.h.kosak2015-07-171-1/+0
|
* Implement GetThreadCount for Linux.kosak2015-07-171-4/+26
|
* Add support for --gtest_flagfilekosak2015-07-171-35/+45
|
* Reduce the number of occurrences of gendered pronouns in gtest.kosak2014-06-181-3/+3
|
* Push upstream to SVN.billydonahue2014-05-151-7/+2
|
* Implement threading support for gtest on Windows.kosak2014-03-241-4/+387
| | | | Also, stop using localtime(). Instead, use localtime_r() on most systems, localtime_s() on Windows.
* Standards compliance changes to fix QNX build.kosak2014-03-121-0/+1
|
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak2013-02-221-6/+6
| | | | 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-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Improves Android support (by David Turner).vladlosev2012-09-191-4/+18
|
* Misc small updates to some debug death code, and to messages streaming to macrosjgm2012-03-091-3/+8
|
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-041-1/+0
|
* Adds ability to inject death test child arguments for test purposes.vladlosev2011-10-051-3/+15
|
* QNX compatibility patch (by Haruka Iwao).vladlosev2011-06-201-0/+25
|
* Indents preprocessor directives.zhanyong.wan2011-02-221-15/+16
|
* Adds null check for file locations in XML output printer.vladlosev2011-02-021-0/+32
|
* Adds a missing #include (by Vlad Losev).zhanyong.wan2010-10-141-0/+1
|
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-4/+4
|
* Casts char to unsigned char before calling isspace() etc to avoid undefined ↵zhanyong.wan2010-08-311-15/+15
| | | | behavior (by Zhanyong Wan); removes conditional #includes keyed on GTEST_HAS_PROTOBUF_ (by Zhanyong Wan); publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); forward declares some classes properly (by Samuel Benzaquen); honors the --gtest_catch_exceptions flag (by Vlad Losev).
* Allows Google Test to build on OSes other then a pre-determined set and ↵vladlosev2010-07-221-0/+1
| | | | implements GTEST_HAS_POSIX_REGEX condition for compatibility with them.
* Simplifies ThreadStartSemaphore's implementation.zhanyong.wan2010-02-261-40/+0
|
* Simplifies the threading implementation and improves some comments.zhanyong.wan2010-02-251-57/+9
|
* Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵zhanyong.wan2010-02-241-0/+88
| | | | 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 Solaris support to test scripts.vladlosev2010-02-111-1/+8
|
* Adds Solaris support (by Hady Zalek)vladlosev2010-02-031-5/+12
|
* Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes ↵zhanyong.wan2010-01-281-3/+2
| | | | unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek).
* Implements stdout capturing (by Vlad Losev); fixes compiler error on NVCC ↵zhanyong.wan2010-01-271-54/+72
| | | | (by Zhanyong Wan).
* Publishes the even listener API (by Vlad Losev); adds OS-indicating macros ↵zhanyong.wan2009-09-241-16/+12
| | | | to simplify gtest code (by Zhanyong Wan).
* Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renameszhanyong.wan2009-09-161-8/+13
| | | | | GTEST_HIDE_UNREACHABLE_CODE_ to GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ (by Vlad Losev).
* Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad ↵zhanyong.wan2009-09-011-1/+1
| | | | Losev).
* Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility ↵zhanyong.wan2009-08-071-8/+4
| | | | with Symbian (by Araceli Checa); Removes GetCapturedStderr()'s dependency on std::string (by Vlad Losev).
* Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).zhanyong.wan2009-06-191-1/+12
|
* Ports gtest to C++Builder, by Josh Kelley.zhanyong.wan2009-04-281-2/+2
|
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-241-6/+6
| | | | SConscript (by Vlad Losev).
* Makes the Python tests more stable (by Vlad Losev); fixes a memory leak in ↵zhanyong.wan2009-04-091-6/+22
| | | | 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-071-0/+21
| | | | 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-3/+3
|
* 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-22/+8
| | | | death test style flag to --help.
* Fixes build failure on Windows, by Rainer Klaffenboeck.zhanyong.wan2009-03-111-1/+4
|
* Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵zhanyong.wan2009-03-061-10/+56
| | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX.
* Cleans up macro definitions.zhanyong.wan2009-02-231-6/+7
|
* Implements the test sharding protocol. By Eric Fellheimer.zhanyong.wan2009-02-091-11/+11
|
* Implements a simple regex matcher (to be used by death tests on Windows).zhanyong.wan2009-01-291-2/+269
|
* Value-parameterized tests and many bugfixesvladlosev2008-11-201-4/+28
|
* Many changes:shiqian2008-10-111-1/+1
| | | | | | | | | | | | - 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).