summaryrefslogtreecommitdiff
path: root/include/gtest/internal
Commit message (Collapse)AuthorAge
* Distinguish between C++11 language and library support for <initializer_list>.HEADmasterkosak@google.com2013-12-04
| | | | | | | Fix spelling: repositary -> repository. git-svn-id: http://googletest.googlecode.com/svn/trunk@671 861a406c-534a-0410-8894-cb66d6ee9925
* Fix warnings encountered with clang -Wall.kosak@google.com2013-12-03
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@670 861a406c-534a-0410-8894-cb66d6ee9925
* 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
* Delete whitespace, and change the return type of ↵kosak@google.com2013-12-03
| | | | | | ImplicitlyConvertible::MakeFrom() to From&. git-svn-id: http://googletest.googlecode.com/svn/trunk@668 861a406c-534a-0410-8894-cb66d6ee9925
* avoids clash with the max() macro on Windowszhanyong.wan2013-09-18
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@663 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes unused function warning on Mac, and fixes compatibility with newer GCC.gtest-embtk-1.1.0zhanyong.wan2013-02-28
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@643 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 an unused variable; also refactors to support an up-comingzhanyong.wan2013-02-28
| | | | | | | googlemock change. git-svn-id: http://googletest.googlecode.com/svn/trunk@640 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
* Fixes an out-dated URL.zhanyong.wan2013-02-02
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@635 861a406c-534a-0410-8894-cb66d6ee9925
* Unbreak building gtest with -std=c++11 on Mac OS X 10.6. Also, better ↵jgm@google.com2012-12-03
| | | | | | support for death tests in iOS simulator. git-svn-id: http://googletest.googlecode.com/svn/trunk@629 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
* Improves Android support (by David Turner).vladlosev2012-09-19
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@625 861a406c-534a-0410-8894-cb66d6ee9925
* Removes obsolete debug code.vladlosev2012-09-06
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@623 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes gtest-tuple.h in Visual C++ 7.1.vladlosev2012-09-06
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@622 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
* added defines for iOSjgm@google.com2012-07-09
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@617 861a406c-534a-0410-8894-cb66d6ee9925
* Improves gtest's failure messages. In particulars, char pointers andzhanyong.wan2012-06-07
| | | | | | | char arrays are not escapped properly. git-svn-id: http://googletest.googlecode.com/svn/trunk@616 861a406c-534a-0410-8894-cb66d6ee9925
* Teach gtest to autodetect rtti support with clang (by Nico Weber).vladlosev2012-05-02
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@614 861a406c-534a-0410-8894-cb66d6ee9925
* Added support for platforms where pthread_t is a struct rather than an integraljgm@google.com2012-04-02
| | | | | | | type. git-svn-id: http://googletest.googlecode.com/svn/trunk@613 861a406c-534a-0410-8894-cb66d6ee9925
* 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
* Locking for Notification class.jgm@google.com2012-01-27
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@610 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 empty methods to Mutex on platforms where Google Test is not ↵vladlosev2011-10-24
| | | | | | thread-safe. This will support a reentrancy fix in Google Mock. git-svn-id: http://googletest.googlecode.com/svn/trunk@605 861a406c-534a-0410-8894-cb66d6ee9925
* Expressed the thread-safety annotations in code, replacing the existing ↵vladlosev2011-10-24
| | | | | | comment-based system (by Aaron Jacobs). git-svn-id: http://googletest.googlecode.com/svn/trunk@604 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
* Adds a new macro simplifying use of snprinf on MS platforms.vladlosev2011-09-26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@597 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes C++0x compatibility problems.vladlosev2011-09-26
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@596 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes a user reported test break (modifying a dict while iterating).vladlosev2011-08-16
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@588 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
* Fixes broken build on VC++ 7.1.vladlosev2011-06-13
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@584 861a406c-534a-0410-8894-cb66d6ee9925
* Adds support for building Google Mock as a shared library (DLL).vladlosev2011-05-20
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@583 861a406c-534a-0410-8894-cb66d6ee9925
* Simplifies the code by removing condfitional section that is no longer ↵vladlosev2011-05-12
| | | | | | necessary. git-svn-id: http://googletest.googlecode.com/svn/trunk@582 861a406c-534a-0410-8894-cb66d6ee9925
* Adds support for death tests in OpenBSD (by Paweł Hajdan Jr.)vladlosev2011-05-03
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@581 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes XL C++ 10.1 compiler errors (based on patch by Hady Zalek); cleans up ↵zhanyong.wan2011-04-15
| | | | | | formatting of GTEST_NO_INLINE_. git-svn-id: http://googletest.googlecode.com/svn/trunk@572 861a406c-534a-0410-8894-cb66d6ee9925
* fixes a problem caused by gcc 4.6 optimization (by Paul Pluzhnikov)zhanyong.wan2011-04-14
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@571 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes Sun C++ compiler errors (by Pasi Valminen)zhanyong.wan2011-04-12
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@569 861a406c-534a-0410-8894-cb66d6ee9925
* Avoids iterator_traits, as it's not available in libCStd when compiled with ↵zhanyong.wan2011-04-12
| | | | | | Sun C++. git-svn-id: http://googletest.googlecode.com/svn/trunk@568 861a406c-534a-0410-8894-cb66d6ee9925
* fixes XL C++ compiler errors (by Pasi Valminen)zhanyong.wan2011-04-08
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@566 861a406c-534a-0410-8894-cb66d6ee9925
* makes gtest compatible with HP UX (by Pasi Valminen); fixes a typo in the ↵zhanyong.wan2011-04-07
| | | | | | name of xlC (by Hady Zalek). git-svn-id: http://googletest.googlecode.com/svn/trunk@563 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes Windows CE compatibility problem (issue ↵vladlosev2011-03-30
| | | | | | http://code.google.com/p/googletest/issues/detail?id=362). git-svn-id: http://googletest.googlecode.com/svn/trunk@559 861a406c-534a-0410-8894-cb66d6ee9925
* Allows Google Mock to compile on platforms that do not support typed tests.vladlosev2011-03-29
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@557 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Sun C++ (by Hady Zalek); fixes compatibilityzhanyong.wan2011-03-11
| | | | | | | with Android (by Zachary Vorhies). git-svn-id: http://googletest.googlecode.com/svn/trunk@555 861a406c-534a-0410-8894-cb66d6ee9925
* Makes IsContainerTest compatible with Sun C++ and Visual Age C++, based on ↵zhanyong.wan2011-03-09
| | | | | | Hady Zalek's report and experiment; also fixes a bug that causes it to think that a class named const_iterator is a container; also clarifies the Borland C++ compatibility fix in the comments based on Josh Kelley's suggestion. git-svn-id: http://googletest.googlecode.com/svn/trunk@554 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes compatibility with Borland C++Builder. Original patch by Joshzhanyong.wan2011-03-05
| | | | | | | Kelley. Simplified by Zhanyong Wan. git-svn-id: http://googletest.googlecode.com/svn/trunk@553 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 type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-02
| | | | | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev. git-svn-id: http://googletest.googlecode.com/svn/trunk@537 861a406c-534a-0410-8894-cb66d6ee9925
* Renames some internal functions to avoid name clashes.vladlosev2011-01-29
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@535 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin).zhanyong.wan2011-01-10
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@531 861a406c-534a-0410-8894-cb66d6ee9925