aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-filepath.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-387/+0
|
* Mock out GetCurrentDir in NaCl.kosak2014-07-291-1/+8
|
* Push upstream to SVN.billydonahue2014-05-151-1/+1
|
* Add MemorySanitizer annotations in gtest printers. Also remove unused ↵kosak2013-12-031-2/+0
| | | | variable kPathSeparatorString.
* Fixes a nasty issue in gtest's template instantiation.zhanyong.wan2013-02-281-0/+1
|
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak2013-02-221-1/+1
| | | | 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-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed Native Client build of gtest when using glibc (by Ben Smith).vladlosev2012-08-141-2/+2
|
* Indents preprocessor directives.zhanyong.wan2011-02-221-13/+13
|
* Adds Google Native Client compatibility (issue 329).vladlosev2010-11-301-2/+2
|
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-3/+3
|
* Adds Solaris support (by Hady Zalek)vladlosev2010-02-031-1/+2
|
* Adds support for alternate path separator on Windows, and make all tests ↵zhanyong.wan2010-02-021-11/+50
| | | | pass with CMake and VC++ 9 (by Manuel Klimek).
* Publishes the even listener API (by Vlad Losev); adds OS-indicating macros ↵zhanyong.wan2009-09-241-17/+16
| | | | to simplify gtest code (by Zhanyong Wan).
* Enables String to contain NUL (by Zhanyong Wan); Adds scons scripts (by Vlad ↵zhanyong.wan2009-09-011-7/+7
| | | | Losev).
* Ports gtest to C++Builder, by Josh Kelley.zhanyong.wan2009-04-281-9/+16
|
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-241-4/+4
| | | | SConscript (by Vlad Losev).
* Simplifies implementation by defining a POSIX portability layer; adds the ↵zhanyong.wan2009-03-261-20/+10
| | | | death test style flag to --help.
* Makes gtest compile without warning with gcc 4.0.3 and -Wall -Wextra.zhanyong.wan2009-03-251-6/+7
|
* Implements death tests on Windows (by Vlad Losev); enables POSIX regex on ↵zhanyong.wan2009-03-061-0/+1
| | | | Mac and Cygwin; fixes build issue on some Linux versions due to PATH_MAX.
* Cleans up macro definitions.zhanyong.wan2009-02-231-10/+10
|
* Implements a simple regex matcher (to be used by death tests on Windows).zhanyong.wan2009-01-291-1/+0
|
* Fixes the bug where the XML output path is affected by test changing the ↵zhanyong.wan2009-01-261-11/+33
| | | | current directory. By Stefan Weigand.
* Makes Google Test compile on Solaris and z/OS. By Rainer Klaffenboeck.shiqian2008-11-101-3/+13
|
* On some Linux distros, you need to explicitly #include <limits.h> to getchandlerc2008-10-211-0/+1
| | | | the definition of PATH_MAX. This patch adds it in the appropriate place.
* Many changes:shiqian2008-10-111-2/+6
| | | | | | | | | | | | - 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-5/+49
| | | | | | | | * 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-0/+18
| | | | 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-3/+39
|
* Initial import.shiqian2008-07-031-0/+208