summaryrefslogtreecommitdiff
path: root/src/gtest-test-part.cc
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the number of occurrences of gendered pronouns in gtest.kosak@google.com2014-06-181-3/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@689 861a406c-534a-0410-8894-cb66d6ee9925
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm@google.com2012-11-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@482 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes MSVC warnings in 64-bit mode.zhanyong.wan2010-02-251-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@379 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies the implementation by using std::vector instead of Vector.zhanyong.wan2010-02-251-13/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@377 861a406c-534a-0410-8894-cb66d6ee9925
* Renames the TestPartResult type enums and adjusts the order of methods in ↵zhanyong.wan2009-09-181-6/+6
| | | | | | the event listener interface (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@314 861a406c-534a-0410-8894-cb66d6ee9925
* Adds color support for TERM=linux (by Alexander Demin); renames List to ↵zhanyong.wan2009-07-131-5/+5
| | | | | | Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev). git-svn-id: http://googletest.googlecode.com/svn/trunk@281 861a406c-534a-0410-8894-cb66d6ee9925
* Makes List a random-access data structure. This simplifies the ↵zhanyong.wan2009-07-011-6/+1
| | | | | | implementation and makes it easier to implement test shuffling. git-svn-id: http://googletest.googlecode.com/svn/trunk@280 861a406c-534a-0410-8894-cb66d6ee9925
* Refactors for the event listener API (by Vlad Losev): hides some methods in ↵zhanyong.wan2009-06-251-4/+5
| | | | | | UnitTest; implements the result printers using the public API. git-svn-id: http://googletest.googlecode.com/svn/trunk@276 861a406c-534a-0410-8894-cb66d6ee9925
* Renames the POSIX wrappers (by Zhanyong Wan) and adds more targets to ↵zhanyong.wan2009-04-241-1/+1
| | | | | | 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-1/+1
| | | | | | death test style flag to --help. git-svn-id: http://googletest.googlecode.com/svn/trunk@227 861a406c-534a-0410-8894-cb66d6ee9925
* Cleans up macro definitions.zhanyong.wan2009-02-231-2/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@195 861a406c-534a-0410-8894-cb66d6ee9925
* Many changes:shiqian2008-10-111-0/+124
- 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