summaryrefslogtreecommitdiff
path: root/src/gtest-filepath.cc
Commit message (Collapse)AuthorAge
* Add MemorySanitizer annotations in gtest printers. Also remove unused ↵kosak@google.com2013-12-03
| | | | | | variable kPathSeparatorString. git-svn-id: http://googletest.googlecode.com/svn/trunk@669 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes a nasty issue in gtest's template instantiation.zhanyong.wan2013-02-28
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@642 861a406c-534a-0410-8894-cb66d6ee9925
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak@google.com2013-02-22
| | | | | | truncates the result at 4096 chars. Also update an obsolete link in comment. git-svn-id: http://googletest.googlecode.com/svn/trunk@636 861a406c-534a-0410-8894-cb66d6ee9925
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm@google.com2012-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: http://googletest.googlecode.com/svn/trunk@628 861a406c-534a-0410-8894-cb66d6ee9925
* Fixed Native Client build of gtest when using glibc (by Ben Smith).vladlosev2012-08-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@621 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 Google Native Client compatibility (issue 329).vladlosev2010-11-30
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@524 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
* Adds Solaris support (by Hady Zalek)vladlosev2010-02-03
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@371 861a406c-534a-0410-8894-cb66d6ee9925
* Adds support for alternate path separator on Windows, and make all tests ↵zhanyong.wan2010-02-02
| | | | | | pass with CMake and VC++ 9 (by Manuel Klimek). git-svn-id: http://googletest.googlecode.com/svn/trunk@370 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
* 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
* 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
* 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
* Makes gtest compile without warning with gcc 4.0.3 and -Wall -Wextra.zhanyong.wan2009-03-25
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@226 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 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
* Fixes the bug where the XML output path is affected by test changing the ↵zhanyong.wan2009-01-26
| | | | | | current directory. By Stefan Weigand. git-svn-id: http://googletest.googlecode.com/svn/trunk@180 861a406c-534a-0410-8894-cb66d6ee9925
* Makes Google Test compile on Solaris and z/OS. By Rainer Klaffenboeck.shiqian2008-11-10
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@110 861a406c-534a-0410-8894-cb66d6ee9925
* On some Linux distros, you need to explicitly #include <limits.h> to getchandlerc2008-10-21
| | | | | | | the definition of PATH_MAX. This patch adds it in the appropriate place. git-svn-id: http://googletest.googlecode.com/svn/trunk@108 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
* Lots of changes:shiqian2008-09-26
| | | | | | | | | | | * 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. git-svn-id: http://googletest.googlecode.com/svn/trunk@98 861a406c-534a-0410-8894-cb66d6ee9925
* Improves thread-safe death tests by changing to the original working ↵shiqian2008-09-12
| | | | | | directory before they are executed; also fixes out-dated comments about death tests. git-svn-id: http://googletest.googlecode.com/svn/trunk@88 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
* Initial import.shiqian2008-07-03
git-svn-id: http://googletest.googlecode.com/svn/trunk@40 861a406c-534a-0410-8894-cb66d6ee9925