708 Commits

Author SHA1 Message Date
Gennadiy Civil
072f55b9f9 Delete CHANGES
We are not maintaining change log, it has not been touched for a very long time
2018-10-09 11:15:26 -04:00
misterg
9e5ddcbeee always define define GTEST_LANG_CXX11 1
PiperOrigin-RevId: 216184859
2018-10-08 10:51:12 -04:00
Gennadiy Civil
29a9246fae Update primer.md
fixes #1709
2018-10-05 16:23:08 -04:00
misterg
e8ba6d4259 Remove pre-C++11 code from gtest-printers
PiperOrigin-RevId: 215941759
2018-10-05 15:17:01 -04:00
Abseil Team
9a2da8daa6 Make GTestColor and ColoredPrintF available as internal APIs from gtest.h. This is for use in abseil exception safety testing.
PiperOrigin-RevId: 215920581
2018-10-05 12:54:28 -04:00
misterg
6af00517b5 Removed pre-C++11 IsContainerTest and IteratorTraits
PiperOrigin-RevId: 215916605
2018-10-05 12:54:21 -04:00
Abseil Team
7a6bc673ea 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
misterg
c660240ad0 Remove checking for C++ 11 and a pre-C++11 test from googletest tests
PiperOrigin-RevId: 215789971
2018-10-04 16:10:50 -04:00
1camper
fcd75b1113 Merge d830440d48a9502161448bc78be33a53388dd1f4 into f5260ae757a681566d8f7d0558b8dc0551036506
Closes #1830

PiperOrigin-RevId: 215563532
2018-10-03 16:11:12 -04:00
Matthieu
962abd75d8 Merge c798e39a4f96f5a985126cc3fab4738b6412cfc1 into e93da23920e5b6887d6a6a291c3a59f83f5b579e
Closes #1836

PiperOrigin-RevId: 215461025
2018-10-02 17:41:16 -04:00
Arseny Aprelev
209346a223 Merge 2ce0685f76a4db403b7b2650433a584c150f2108 into 75e834700d19aa373b428c7c746f951737354c28
Closes #1544
With refinements and changes

PiperOrigin-RevId: 215273083
2018-10-02 13:03:28 -04:00
Gennadiy Civil
b48ed1d1fa Merge pull request #1855 from zach2good/issue1854_remove_i386_xcode10
Issue #1854: remove support for i386 for XCode 10
2018-09-25 21:44:35 -07:00
Abseil Team
6a3cea2744 Googletest export
Project import generated by Copybara.

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

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

PiperOrigin-RevId: 213856848
2018-09-25 13:05:03 -04:00
Zach Toogood
650ba33060 Issue #1854: remove support for i386 for XCode 10 2018-09-24 16:02:12 +03:00
Gennadiy Civil
32e3b5940b Formatting 2018-09-23 09:42:11 -07:00
Gennadiy Civil
e6a16ba527 Formatting 2018-09-23 09:41:12 -07:00
Gennadiy Civil
fca8f23b89 Formatting 2018-09-23 09:35:25 -07:00
Gennadiy Civil
f335c30660 Formatting 2018-09-23 09:34:47 -07:00
Jonny007-MKD
fe652cd81b Fix unit test 2018-09-23 16:39:13 +02:00
Jonny007-MKD
32f906fe54 Fix ColoredOutputTest.UsesColorsWhenTermSupportsColors again 2018-09-23 15:50:29 +02:00
Jonny007-MKD
9a9e73ab32 Rename private member of AdditionalMessage
Shorten lines in unit tests
2018-09-23 15:46:47 +02:00
Jonny007-MKD
c8e52d71c8 Readded changes from 6494f5232b130a29321e661166442bac324c4383 2018-09-23 15:15:38 +02:00
Gennadiy Civil
50f71f4bfc Merge pull request #1843 from matlo607/fix-unittest-msys-ColoredOutputTest
[msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors
2018-09-20 11:42:29 -04:00
misterg
323f4ce2f9 Googletest export
Fixing broken OSS build, add missing include

PiperOrigin-RevId: 213812210
2018-09-20 11:01:27 -04:00
Abseil Team
2ea9c639a2 Googletest export
support printing std::reference_wrapper<T> in gUnit

PiperOrigin-RevId: 213270392
2018-09-20 11:01:16 -04:00
Jonny007-MKD
390ebad000 Removed some newlines 2018-09-18 21:54:36 +02:00
Matthieu Longo
2ae78ba935 [msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors 2018-09-18 18:29:42 +02:00
Jonny007-MKD
76a688d3a2 Avoid these ambiguities 2018-09-15 09:00:39 +02:00
Jonny007-MKD
534ed43772 Print message of unexpected std::exception in EXPECT_THROW, too 2018-09-14 23:22:04 +02:00
Jonny007-MKD
c6cb651358 Merge branch 'master' into master 2018-09-14 22:39:45 +02:00
misterg
bf6424ccca Googletest export
Removing checks for C++11 from unit tests

PiperOrigin-RevId: 212990514
2018-09-14 14:52:40 -04:00
Gennadiy Civil
566de521b8 Merge branch 'master' into master 2018-09-14 11:21:31 -04:00
Gennadiy Civil
c55bb97910 Update README.md 2018-09-13 17:23:21 -04:00
Jonny007-MKD
a99b157840 Make it public again *sigh* 2018-09-13 14:49:15 +02:00
Jonny007-MKD
b51e3b0a9c Avoid implicit move operator 2018-09-13 14:13:23 +02:00
Jonny007-MKD
5fa27d03e1 Try to fix gcc and clang issues 2018-09-13 13:57:27 +02:00
Jonny007-MKD
fad53c8498 Added special catch for std::exception in GTEST_TEST_NO_THROW_ 2018-09-13 10:24:10 +02:00
Georgi D. Sotirov
8702cc3632 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
Arkady Shapkin
e7668ee9d7 Fix doc links 2018-09-04 23:07:18 +03:00
Gennadiy Civil
c95d015c7e Merge pull request #1803 from KindDragon/patch-2
Update documentation to syntax highlight code
2018-09-04 10:56:49 -04:00
Andrew Siplas
538e11c9b3 Fix #1805: add .md to hyperlink 2018-09-03 22:13:52 -04:00
Arkady Shapkin
33ca9f1dec Update documentation to syntax highlight code 2018-09-03 21:56:23 +03:00
Gennadiy Civil
2e509c1a72 Merge branch 'master' into fix-clang-warnings 2018-08-31 10:57:16 -04:00
Gennadiy Civil
28dc4b36eb Update googletest-output-test-golden-lin.txt 2018-08-31 10:26:59 -04:00
Dominic Sacré
ea637101fc Add user-defined copy constructor to ValueArray
Fix Clang warning:
| warning: definition of implicit copy constructor for 'ValueArray2<bool, bool>'
| is deprecated because it has a user-declared copy assignment operator [-Wdeprecated]
2018-08-31 14:57:23 +02:00
Dominic Sacré
5a3ce43fdf Add missing declarations for Google Tests flags
Add declarations for install_failure_signal_handler and flagfile.

Fix Clang warnings:
| warning: no previous extern declaration for non-static variable
| 'FLAGS_gtest_install_failure_signal_handler' [-Wmissing-variable-declarations]
| warning: no previous extern declaration for non-static variable
| 'FLAGS_gtest_flagfile' | [-Wmissing-variable-declarations]
2018-08-31 14:57:23 +02:00
Dominic Sacré
5591ade5ff Make g_argvs static
Fix Clang warning:
| warning: no previous extern declaration for non-static variable 'g_argvs'
| [-Wmissing-variable-declarations]
2018-08-31 14:57:23 +02:00
Dominic Sacré
6358733987 Make dummy variables static to avoid compiler warnings
Fix -Wmissing-variable-declarations warnings from Clang.
2018-08-31 14:57:23 +02:00