summaryrefslogtreecommitdiff
path: root/test/gtest-filepath_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add support for --gtest_flagfilekosak@google.com2015-07-171-18/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@724 861a406c-534a-0410-8894-cb66d6ee9925
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm@google.com2012-11-151-137/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Improves Android support (by David Turner).vladlosev2012-09-191-0/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@625 861a406c-534a-0410-8894-cb66d6ee9925
* Indents preprocessor directives.zhanyong.wan2011-02-221-7/+13
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@544 861a406c-534a-0410-8894-cb66d6ee9925
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-2/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@482 861a406c-534a-0410-8894-cb66d6ee9925
* Adds missing gtest DLL exports.zhanyong.wan2010-03-221-2/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@399 861a406c-534a-0410-8894-cb66d6ee9925
* Adds Solaris support (by Hady Zalek)vladlosev2010-02-031-25/+26
| | | | 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-021-0/+103
| | | | | | 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-241-13/+10
| | | | | | to simplify gtest code (by Zhanyong Wan). git-svn-id: http://googletest.googlecode.com/svn/trunk@320 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika).zhanyong.wan2009-06-191-0/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@270 861a406c-534a-0410-8894-cb66d6ee9925
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-241-6/+6
| | | | | | 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-261-33/+9
| | | | | | death test style flag to --help. git-svn-id: http://googletest.googlecode.com/svn/trunk@227 861a406c-534a-0410-8894-cb66d6ee9925
* Implements the --help flag; fixes tests on Windows.zhanyong.wan2009-03-111-7/+5
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@204 861a406c-534a-0410-8894-cb66d6ee9925
* Cleans up macro definitions.zhanyong.wan2009-02-231-82/+88
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@195 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes some warnings when compiled with MSVC at warning level 4.zhanyong.wan2009-01-291-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@183 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes the bug where the XML output path is affected by test changing the ↵zhanyong.wan2009-01-261-6/+78
| | | | | | current directory. By Stefan Weigand. git-svn-id: http://googletest.googlecode.com/svn/trunk@180 861a406c-534a-0410-8894-cb66d6ee9925
* Value-parameterized tests and many bugfixesvladlosev2008-11-201-6/+0
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@120 861a406c-534a-0410-8894-cb66d6ee9925
* Many changes:shiqian2008-10-111-0/+3
| | | | | | | | | | | | | | | - 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-261-2/+104
| | | | | | | | | | | * 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-121-0/+32
| | | | | | 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-311-0/+36
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@73 861a406c-534a-0410-8894-cb66d6ee9925
* Initial import.shiqian2008-07-031-0/+369
git-svn-id: http://googletest.googlecode.com/svn/trunk@40 861a406c-534a-0410-8894-cb66d6ee9925