summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge pull request #1089 from nico/stdstringBilly Donahue2017-05-164-20/+19
|\ \ \ \ \ | | | | | | | | | | | | Use std::string and ::string explicitly in gtest and gmock code.
| * | | | | Use std::string and ::string explicitly in gtest and gmock code.Nico Weber2017-05-154-20/+19
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merges a Google-internal change (117235625). Original CL description: This CL was created manually in about an hour with sed, a Python script to find all the places unqualified 'string' was mentioned, and some help from Emacs to add the "std::" qualifications, plus a few manual tweaks.
* | | | | Merge pull request #1090 from nico/typoBilly Donahue2017-05-151-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fixing typo in documentation.
| * | | | | Fixing typo in documentation.Nico Weber2017-05-151-1/+1
| |/ / / / | | | | | | | | | | | | | | | This upstreams a Google-internal change.
* / / / / Gender-neutralize comments in gtest.h.Nico Weber2017-05-151-1/+1
|/ / / / | | | | | | | | | | | | This merges a Google-internal change.
* | | | Merge pull request #1078 from pwnall/gtest_api_portBilly Donahue2017-05-102-1/+11
|\ \ \ \ | | | | | | | | | | Pick up GTEST_API_ definition in gtest/internal/custom/gtest-port.h.
| * | | | Pick up GTEST_API_ definition in gtest/internal/custom/gtest-port.h.Victor Costan2017-05-042-1/+11
| |/ / / | | | | | | | | | | | | | | | | This makes it possible for a port to define the specifier used for exported symbols without having to change Google Test.
* | | | Merge pull request #965 from davidben/format-attrBilly Donahue2017-05-071-0/+17
|\ \ \ \ | |/ / / |/| | | Annotate ColoredPrintf with the format attribute and fix bugs.
| * | | Annotate ColoredPrintf with the format attribute and fix bugs.David Benjamin2016-12-211-0/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | googletest doesn't currently build with clang's very aggressive -Wformat-nonliteral warning. It requires that all non-literal format strings come from the argument of a function annotated with a compatible format attribute. Fixing that reports that ColoredPrintf's callers weren't passing the normal -Wformat warning. Some messages were passed directly into the format string rather than via "%s".
* | | Merge pull request #1034 from dankegel/masterBilly Donahue2017-05-021-1/+1
|\ \ \ | | | | | | | | Minimal changes to fix build failures on Microsoft Visual Studio 2015
| * | | Minimal changes to fix build failures on Microsoft Visual Studio 2015Dan Kegel2017-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following errors: hash_map(17): error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [googlemock\gtest\gtest-printers_test.vcxproj] hash_set(17): error C2338: <hash_set> is deprecated and will be REMOVED. Please use <unordered_set>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [googlemock\gtest\gtest-printers_test.vcxproj] googletest\test\gtest_catch_exceptions_test_.cc(152): error C2220: warning treated as error - no 'object' file generated googletest\test\gtest_catch_exceptions_test_.cc(152): warning C4297: 'CxxExceptionInDestructorTest::~CxxExceptionInDestructorTest': function assumed not to throw an exception but does googletest\test\gtest_catch_exceptions_test_.cc(152): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification There were already some checks for _MSC_VER in the code, so this commit continues in that vein.
* | | | Changes to make TempDir() publicGennadiy Civil2017-05-022-3/+9
|/ / / | | | | | | | | | Fixes #1076.
* | | fix typo /GTEST_ATTRIBUTE_UNUSED/GTEST_ATTRIBUTE_UNUSED_/srz_zumix2017-02-031-1/+1
| | |
* | | Add GTEST_ATTRIBUTE_UNUSED_ to REGISTER_TYPED_TEST_CASE_PMike Bjorge2017-01-091-3/+4
|/ / | | | | | | | | | | If REGISTER_TYPED_TEST_CASE_P is included in a header file, but the .cc file does not declare INSTANTIATE_TYPED_TEST_CASE_P, an unused-variable warning may be raised by the compiler.
* | Merge pull request #918 from DanAlbert/fix-android-GTEST_HAS_CLONEBilly Donahue2016-11-031-2/+6
|\ \ | |/ |/| Fix detection of GTEST_HAS_CLONE for Android.
| * Fix detection of GTEST_HAS_CLONE for Android.Dan Albert2016-11-011-2/+6
| | | | | | | | | | This was not in Gingerbread for anything but ARM (even though the libs were hacked to lie about it being available in gingerbread).
* | Fix build with MinGW-w64Arkadiy Shapkin2016-09-051-1/+1
| |
* | Merge pull request #721 from ilmagico/fix-mingw-threadsBilly Donahue2016-08-241-3/+9
|\ \ | | | | | | Fix compilation of googletest with MinGW using Win32 threads
| * | Fix compilation on MinGW with native threadsDaniele Tamino2016-02-221-3/+9
| |/
* | Rollback change #808.Billy Donahue2016-06-261-2/+2
| |
* | Fix to tests that return object which implement operator boolDavid Mott2016-06-251-2/+2
| |
* | fix to operator precedence in GTEST_TEST_BOOLEAN_ with expressions that ↵David Mott2016-06-251-2/+2
| | | | | | | | implement operator bool
* | Merge pull request #724 from duggelz/masterBilly Donahue2016-03-151-2/+1
|\ \ | |/ |/| Read Bazel's $XML_OUTPUT_FILE environment variable
| * Restructure $XML_OUTPUT_FILE logicDoug Greiman2016-02-261-2/+1
| |
| * Fix inconsistent styleDoug Greiman2016-02-251-1/+1
| |
| * Read Bazel's $XML_OUTPUT_FILE environment variableDoug Greiman2016-02-231-1/+1
| | | | | | | | | | | | If $XML_OUTPUT_FILE is set, and $GTEST_OUTPUT and --gtest_output are not specified, produce output as if GTEST_OUTPUT=xml:$XML_OUTPUT_FILE had been set.
* | Change error message of EXPECT_EQ to treat lhs and rhs equivalently.Alexey Sokolov2016-02-161-104/+100
|/
* Update GTEST_PROJECT_URL_ in internal/gtest-port.hDawid Kurek2015-12-231-1/+1
| | | | As repository moved to github. All urls need to be changed. There is still plenty to do.
* Fix missing-field-initializers GCC/Clang warning (issue 433).Patrick J. LoPresti2015-11-241-6/+1
|
* Merge pull request #611 from mark-chromium/gmock_cxx11Billy Donahue2015-11-101-1/+2
|\ | | | | googlemock: Support C++11 language with pre-C++11 library
| * googlemock: Support C++11 language with pre-C++11 libraryMark Mentovai2015-10-121-1/+2
| | | | | | | | | | | | This guards use of <type_traits> and its features with GTEST_HAS_STD_TYPE_TRAITS_, and std::function with GTEST_HAS_STD_FUNCTION_.
* | Fix definition of GTEST_API_ macro for gcc and clang [#451].Dominic Meiser2015-10-291-3/+3
|/ | | | This is to enable using gtest with -fvisibility=hidden.
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-2528-0/+22956
OpenPOWER on IntegriCloud