Commit Graph
55 Commits
Author SHA1 Message Date
Gennadiy Civil e9085769d4 Merge pull request #1941 from barkovv:master
PiperOrigin-RevId: 219134349
2018-10-29 13:46:24 -04:00
Vadim Barkov 53d61b5b23 Replaced all NULLs with nullptr in googletest 2018-10-28 03:10:37 +03:00
Abseil Team 82987067d8 Googletest export
Change ValuesArray to require much less template instantiation depth.

PiperOrigin-RevId: 218170842
2018-10-22 11:29:14 -04:00
Abseil Team 4bb49ed640 Apply clang-tidy modernize-use-nullptr to googletest.
Now that googletest has moved to C++11, it should no longer
use NULL or 0 for the null pointer. This patch converts all
such usages to nullptr using clang-tidy.

This prevents LLVM from issuing -Wzero-as-null-pointer-constant
warnings.

PiperOrigin-RevId: 215814400
2018-10-05 12:54:14 -04:00
Abseil Team 2b016ca493 Googletest export
Project import generated by Copybara.

PiperOrigin-RevId: 214456152
2018-09-25 13:05:37 -04:00
misterg b2788286d1 Googletest export
Project import generated by Copybara.

PiperOrigin-RevId: 214441835
2018-09-25 13:05:25 -04:00
Abseil Team 0fc5466dbb Googletest export
Project import generated by Copybara.
Including recently accepted and merged PRs

PiperOrigin-RevId: 213856848
2018-09-25 13:05:03 -04:00
Gennadiy Civil 81c0b876b4 Formatting 2018-09-23 09:42:11 -07:00
Gennadiy Civil 5293383707 Formatting 2018-09-23 09:35:25 -07:00
Jonny007-MKD 67d3c0f6d7 Fix unit test 2018-09-23 16:39:13 +02:00
Jonny007-MKD 2b2b8d71c1 Fix ColoredOutputTest.UsesColorsWhenTermSupportsColors again 2018-09-23 15:50:29 +02:00
Jonny007-MKD cecea92af8 Rename private member of AdditionalMessage
Shorten lines in unit tests
2018-09-23 15:46:47 +02:00
Jonny007-MKD 1cb10b357a Readded changes from 6494f5232b 2018-09-23 15:15:38 +02:00
Matthieu Longo c9fe337ae2 [msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors 2018-09-18 18:29:42 +02:00
misterg bc9df6ad46 Googletest export
Removing checks for C++11 from unit tests

PiperOrigin-RevId: 212990514
2018-09-14 14:52:40 -04:00
Georgi D. Sotirov 94046c91db Return GTEST_ATTRIBUTE_UNUSED_ on record_property_env to avoide comilation error (with -Werror)
The unused attribute was removed with commit 3299a23 on 2018-02-23, but it currently breaks build of 1.8.1, because of -Werror GCC parameter as reported in issue #1825.
2018-09-12 10:44:52 +03:00
David Schuldenfrei 603ce4b81d Merge 72a2836945 into 1d9a1912e7
Closes #1658

Review and changes, mister@google.com

PiperOrigin-RevId: 210374286
2018-08-27 12:22:33 -04:00
Gennadiy Civil 265efde9a5 Comments changes, no functionality changes. 2018-08-14 15:04:11 -04:00
Gennadiy Civil a3c0dd0f4d Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
Gennadiy Civil 61f949387e Merge branch 'master' into deprecate 2018-08-03 12:05:07 -04:00
Gennadiy Civil f3511bf1c7 cleaning up and adding test changes to CMake 2018-08-02 14:56:33 -04:00
Gennadiy Civil 6cacb41935 Merge branch 'master' into deprecate 2018-07-26 13:04:53 -04:00
Gennadiy Civil ed1edf641d Formatting changes, code sync 2018-07-25 10:24:13 -04:00
Loo Rong Jie 3a8d744030 Disable MSVC function deprecation when using Clang 2018-07-13 21:23:28 +08:00
Gennadiy Civil 28c91e2cea Formatting changes 2018-05-23 11:03:31 -04:00
James Dennett 89286a4cdf Merge branch 'master' into StdLibVersioning 2018-05-21 10:57:01 -07:00
James Dennett b8fa4d2754 Add unit test for CanonicalizeForStdLibVersioning. 2018-05-10 22:33:29 -07:00
Jae Heon Lee ec5ad0f869 Fix the bug where ad_hoc_test_result() functions of UnitTest and TestCase objects would return failures registered at TestCase and UnitTest scopes, respectively. 2018-05-07 14:09:37 -07:00
Gennadiy Civil d52aaee8eb Upstreaming, cl 191344765 2018-04-03 16:14:35 -04:00
Gennadiy Civil a178cc7ef7 merge, again, IsRecursiveContainer 2018-03-15 14:31:37 -04:00
Gennadiy Civil 4dbb437174 merging unittests - 5 2018-02-26 09:51:27 -05:00
Gennadiy Civil 004f6a00b2 merging unitests - check 4 2018-02-23 15:27:11 -05:00
Gennadiy Civil 29e9ca8774 merging unitests, check 2018-02-23 11:29:35 -05:00
Gennadiy Civil 3299a2386c merging unittests - 2 2018-02-23 11:07:18 -05:00
Gennadiy Civil b7e0294c51 merging unitests 2018-02-23 10:47:11 -05:00
Troy Holsapple c8510504dd Fixed typos 2018-02-07 22:06:00 -08:00
Gennadiy Civil 6723b6c588 Merging, upstream http://cl/182836545 2018-01-23 10:15:28 -05:00
Gennadiy Civil 1c09831acc upstreaming cl 124976692 2018-01-03 16:57:05 -05:00
Jonathan Wakely b70cf1a663 Use gender-neutral pronouns in comments and docs 2017-09-27 13:31:13 +01:00
Alexey Sokolov c9cf07a8ba Make the failure messages from EXPECT_EQ and friends actually symmetric,
instead of reading more like reversing the former "expected" and "actual"
roles of the LHS and RHS arguments.

This patch is manually applied from internal version (125109873)
2017-09-13 18:18:20 +01:00
Herbert Thielen 6c0146fd00 use GTEST_ATTRIBUTE_UNUSED_ instead of dummy function 2017-09-07 17:33:19 +02:00
Herbert Thielen 55fd999adf avoid warning about unused variable 2017-09-04 17:23:41 +02:00
Gennadiy Civil 52b6ca3428 Merge pull request #783 from tobbi/cppcheck_perf_fixes
Performance fixes reported by cppcheck
2017-09-01 13:52:33 -04:00
Herbert Thielen daaed2b6cb fix typo in comment and string (SetUpTestCase) 2017-08-29 14:22:09 +02:00
Gennadiy Civil ca102b1f9d Merge pull request #1030 from vpfautz/master
Fixed some typos
2017-08-03 16:49:13 -04:00
Gennadiy Civil 0cb2eeb5f1 Merge pull request #764 from flyd1005/wip-fix-typo
remove duplicated words
2017-08-02 17:04:33 -04:00
Nico Weber 09fd5b3ebf Use std::string and ::string explicitly in gtest and gmock code.
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.
2017-05-15 17:53:04 -04:00
Gennadiy Civil 611e8a99de Changes to make TempDir() public
Fixes #1076.
2017-05-02 14:16:11 -04:00
vpfautz a2451c7403 Fixed some typos 2017-02-26 19:15:33 +01:00
Tobias Markus 08d76be4cc Performance fixes reported by cppcheck 2016-05-22 18:35:52 +02:00