summaryrefslogtreecommitdiff
path: root/src/gtest-port.cc
Commit message (Collapse)AuthorAge
* Misc small updates to some debug death code, and to messages streaming to macrosjgm@google.com2012-03-09
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@612 861a406c-534a-0410-8894-cb66d6ee9925
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-04
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@607 861a406c-534a-0410-8894-cb66d6ee9925
* Adds ability to inject death test child arguments for test purposes.vladlosev2011-10-05
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@599 861a406c-534a-0410-8894-cb66d6ee9925
* QNX compatibility patch (by Haruka Iwao).vladlosev2011-06-20
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@586 861a406c-534a-0410-8894-cb66d6ee9925
* Indents preprocessor directives.zhanyong.wan2011-02-22
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@544 861a406c-534a-0410-8894-cb66d6ee9925
* Adds null check for file locations in XML output printer.vladlosev2011-02-02
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@540 861a406c-534a-0410-8894-cb66d6ee9925
* Adds a missing #include (by Vlad Losev).zhanyong.wan2010-10-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@494 861a406c-534a-0410-8894-cb66d6ee9925
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@482 861a406c-534a-0410-8894-cb66d6ee9925
* Casts char to unsigned char before calling isspace() etc to avoid undefined ↵zhanyong.wan2010-08-31
| | | | | | 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). git-svn-id: http://googletest.googlecode.com/svn/trunk@480 861a406c-534a-0410-8894-cb66d6ee9925
* Allows Google Test to build on OSes other then a pre-determined set and ↵vladlosev2010-07-22
| | | | | | implements GTEST_HAS_POSIX_REGEX condition for compatibility with them. git-svn-id: http://googletest.googlecode.com/svn/trunk@448 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies ThreadStartSemaphore's implementation.zhanyong.wan2010-02-26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@381 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies the threading implementation and improves some comments.zhanyong.wan2010-02-25
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@378 861a406c-534a-0410-8894-cb66d6ee9925
* Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵zhanyong.wan2010-02-24
| | | | | | 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). git-svn-id: http://googletest.googlecode.com/svn/trunk@376 861a406c-534a-0410-8894-cb66d6ee9925
* Adds Solaris support to test scripts.vladlosev2010-02-11
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@372 861a406c-534a-0410-8894-cb66d6ee9925
* Adds Solaris support (by Hady Zalek)vladlosev2010-02-03
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@371 861a406c-534a-0410-8894-cb66d6ee9925
* Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes ↵zhanyong.wan2010-01-28
| | | | | | unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek). git-svn-id: http://googletest.googlecode.com/svn/trunk@369 861a406c-534a-0410-8894-cb66d6ee9925
* Implements stdout capturing (by Vlad Losev); fixes compiler error on NVCC ↵zhanyong.wan2010-01-27
| | | | | | (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@368 861a406c-534a-0410-8894-cb66d6ee9925
* Publishes the even listener API (by Vlad Losev); adds OS-indicating macros ↵zhanyong.wan2009-09-24
| | | | | | to simplify gtest code (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@320 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renameszhanyong.wan2009-09-16
| | | | | | | | GTEST_HIDE_UNREACHABLE_CODE_ to GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@307 861a406c-534a-0410-8894-cb66d6ee9925
* Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad ↵zhanyong.wan2009-09-01
| | | | | | Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@300 861a406c-534a-0410-8894-cb66d6ee9925
* Implements EXPECT_DEATH_IF_SUPPORTED (by Vlad Losev); Fixes compatibility ↵zhanyong.wan2009-08-07
| | | | | | with Symbian (by Araceli Checa); Removes GetCapturedStderr()'s dependency on std::string (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@289 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).zhanyong.wan2009-06-19
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@270 861a406c-534a-0410-8894-cb66d6ee9925
* Ports gtest to C++Builder, by Josh Kelley.zhanyong.wan2009-04-28
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@245 861a406c-534a-0410-8894-cb66d6ee9925
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-24
| | | | | | SConscript (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@242 861a406c-534a-0410-8894-cb66d6ee9925
* Makes the Python tests more stable (by Vlad Losev); fixes a memory leak in ↵zhanyong.wan2009-04-09
| | | | | | GetThreadCount() on Mac (by Vlad Losev); improves fuse_gtest_files.py to support fusing Google Mock files (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@238 861a406c-534a-0410-8894-cb66d6ee9925
* Adds sample4_unittest to scons (by Vlad Losev); adds logic for getting the ↵zhanyong.wan2009-04-07
| | | | | | thread count on Mac (by Vlad Losev); adds HasFailure() and HasNonfatalFailure() (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@236 861a406c-534a-0410-8894-cb66d6ee9925
* Cleans up the use of GTEST_OS_WINDOWS and _MSC_VER.zhanyong.wan2009-03-31
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@233 861a406c-534a-0410-8894-cb66d6ee9925
* Works around a VC bug by avoiding defining a function named strdup().zhanyong.wan2009-03-26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@228 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies implementation by defining a POSIX portability layer; adds the ↵zhanyong.wan2009-03-26
| | | | | | death test style flag to --help. git-svn-id: http://googletest.googlecode.com/svn/trunk@227 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes build failure on Windows, by Rainer Klaffenboeck.zhanyong.wan2009-03-11
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@202 861a406c-534a-0410-8894-cb66d6ee9925
* Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵zhanyong.wan2009-03-06
| | | | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX. git-svn-id: http://googletest.googlecode.com/svn/trunk@198 861a406c-534a-0410-8894-cb66d6ee9925
* Cleans up macro definitions.zhanyong.wan2009-02-23
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@195 861a406c-534a-0410-8894-cb66d6ee9925
* Implements the test sharding protocol. By Eric Fellheimer.zhanyong.wan2009-02-09
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@187 861a406c-534a-0410-8894-cb66d6ee9925
* Implements a simple regex matcher (to be used by death tests on Windows).zhanyong.wan2009-01-29
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@182 861a406c-534a-0410-8894-cb66d6ee9925
* Value-parameterized tests and many bugfixesvladlosev2008-11-20
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@120 861a406c-534a-0410-8894-cb66d6ee9925
* Many changes:shiqian2008-10-11
| | | | | | | | | | | | | | | - 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). git-svn-id: http://googletest.googlecode.com/svn/trunk@104 861a406c-534a-0410-8894-cb66d6ee9925
* Makes gtest work on Windows Mobile and Symbian. By Mika Raento.shiqian2008-07-31
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@73 861a406c-534a-0410-8894-cb66d6ee9925
* Makes death tests create temporary files in /tmp instead of the current folder.shiqian2008-07-29
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@72 861a406c-534a-0410-8894-cb66d6ee9925
* Initial import.shiqian2008-07-03
git-svn-id: http://googletest.googlecode.com/svn/trunk@40 861a406c-534a-0410-8894-cb66d6ee9925