2554 Commits

Author SHA1 Message Date
Gennadiy Civil
5e13fe6622
Merge branch 'master' into appveyor-mingw-enable-tests-again 2018-09-25 00:12:18 -07:00
Gennadiy Civil
a4f57cf49a
Merge branch 'master' into python3-tests 2018-09-25 00:10:15 -07:00
Gennadiy Civil
b19266a3e3
Merge pull request #1857 from gennadiycivil/master
Add clang format check to one of the builds
2018-09-25 00:09:27 -07:00
Gennadiy Civil
76e1045729 typo 2018-09-25 02:55:08 -04:00
Gennadiy Civil
2d3466be47 Add clang format check to one of the builds to provide indication that formatting is incorrect 2018-09-25 02:42:15 -04:00
Zach Toogood
0272ff1aa0 Issue #1854: remove support for i386 for XCode 10 2018-09-24 16:02:12 +03:00
Matthieu Longo
0e161c3c8b [mingw] enable the unittests for gmock and gtest again 2018-09-24 10:28:16 +02:00
Gennadiy Civil
ed6e84ccef
Merge pull request #1850 from Jonny007-MKD/master
Added special catch for std::exception in GTEST_TEST_NO_THROW_
2018-09-23 12:25:08 -07:00
Gennadiy Civil
fd17c91bad
Merge branch 'master' into master 2018-09-23 12:10:40 -07:00
Gennadiy Civil
c7a429a667
Update CONTRIBUTING.md 2018-09-23 12:10:08 -07:00
Gennadiy Civil
51945d3cd5
Update README.md 2018-09-23 12:07:25 -07:00
Gennadiy Civil
a2f13308c8
Add .clang-format 2018-09-23 12:05:21 -07:00
Gennadiy Civil
81c0b876b4
Formatting 2018-09-23 09:42:11 -07:00
Gennadiy Civil
6596471104
Formatting 2018-09-23 09:41:12 -07:00
Gennadiy Civil
5293383707
Formatting 2018-09-23 09:35:25 -07:00
Gennadiy Civil
78d3bfeb44
Formatting 2018-09-23 09:34:47 -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 6494f5232b130a29321e661166442bac324c4383 2018-09-23 15:15:38 +02:00
Gennadiy Civil
90943525c5
Merge branch 'master' into python3-tests 2018-09-20 14:30:26 -04:00
Gennadiy Civil
258def01a6
Merge pull request #1847 from google/revert-1832-master
Revert "Added special catch for std::exception in GTEST_TEST_NO_THROW_"
2018-09-20 14:29:02 -04:00
Gennadiy Civil
a35326be04
Revert "Added special catch for std::exception in GTEST_TEST_NO_THROW_" 2018-09-20 14:12:48 -04:00
Gennadiy Civil
8bf297233f
Merge pull request #1843 from matlo607/fix-unittest-msys-ColoredOutputTest
[msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors
2018-09-20 11:42:29 -04:00
Gennadiy Civil
09560fba44
Merge pull request #1844 from matlo607/fix-msys-build-gmock-matchers_test
[msys] pass big object file option to assembler for target gmock-matchers_test
2018-09-20 11:42:02 -04:00
Gennadiy Civil
4f55245183
Merge pull request #1846 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-20 11:30:23 -04:00
misterg
8c547cff2e Googletest export
Fixing broken OSS build, add missing include

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

PiperOrigin-RevId: 213270392
2018-09-20 11:01:16 -04:00
Gennadiy Civil
9ea0172850
Merge pull request #1832 from Jonny007-MKD/master
Added special catch for std::exception in GTEST_TEST_NO_THROW_
2018-09-19 22:19:23 -04:00
Jonny007-MKD
6a1c3d9b78 Removed some newlines 2018-09-18 21:54:36 +02:00
Matthieu Longo
c9fe337ae2 [msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors 2018-09-18 18:29:42 +02:00
Matthieu Longo
0a18c106ac [msys] pass big object file option to assembler for target gmock-matchers_test 2018-09-18 18:28:29 +02:00
Jonny007-MKD
c40f55a229 Avoid these ambiguities 2018-09-15 09:00:39 +02:00
Peter Levine
149c0d2414 Fix Python3 support 2018-09-14 19:40:51 -04:00
Jonny007-MKD
6494f5232b Print message of unexpected std::exception in EXPECT_THROW, too 2018-09-14 23:22:04 +02:00
Jonny007-MKD
631e3a5838
Merge branch 'master' into master 2018-09-14 22:39:45 +02:00
Gennadiy Civil
bc2d0935b7
Merge pull request #1838 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-14 15:54:01 -04:00
Gennadiy Civil
fc2caf6485
Update .travis.yml
Remove pre C++11
2018-09-14 15:34:13 -04:00
misterg
bc9df6ad46 Googletest export
Removing checks for C++11 from unit tests

PiperOrigin-RevId: 212990514
2018-09-14 14:52:40 -04:00
Gennadiy Civil
28c2989eea
Merge pull request #1837 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-14 11:43:05 -04:00
Gennadiy Civil
1b2da360ed
Merge branch 'master' into master 2018-09-14 11:21:31 -04:00
Gennadiy Civil
f46c174d1c
Merge pull request #1835 from google/gennadiycivil-TR1-docs-cleanup
Remove TR1 mentions
2018-09-14 11:15:41 -04:00
Abseil Team
ffc9baeb4c Googletest export
Treat default-constructed string_view same as constructed from "".
In the context of string comparison (e.g. HasSubstr, StartsWith, EndsWith,
etc.), a default-constructed string_view (nullptr) should be semantically same
as a empty string "".

PiperOrigin-RevId: 212816839
2018-09-14 11:13:48 -04:00
Gennadiy Civil
abc803e288
Update README.md 2018-09-13 17:23:21 -04:00
Gennadiy Civil
5c89346def
Update README.md 2018-09-13 17:22:16 -04:00
Jonny007-MKD
3c80556859
Merge branch 'master' into master 2018-09-13 18:23:37 +02:00
Gennadiy Civil
cfe0ae8678
Merge pull request #1831 from anthraxx/fix/version
version: fix declared version to be in sync with CMakeLists.txt
2018-09-13 10:35:19 -04:00
Gennadiy Civil
2649c22181
Merge pull request #1834 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-13 09:33:13 -04:00
misterg
0cd3c2e8b4 Googletest export
Project import generated by Copybara.

PiperOrigin-RevId: 212678005
2018-09-13 09:32:20 -04:00
misterg
21d52d3a1d Googletest export
Project import generated by Copybara.

PiperOrigin-RevId: 212656749
2018-09-13 09:32:12 -04:00
misterg
e1b8d82fa6 Googletest export
Internal Change

PiperOrigin-RevId: 212656679
2018-09-13 09:32:01 -04:00
Jonny007-MKD
82eeb009b2 Make it public again *sigh* 2018-09-13 14:49:15 +02:00
Jonny007-MKD
e86d1df3e1 Avoid implicit move operator 2018-09-13 14:13:23 +02:00
Jonny007-MKD
8c849c584c Try to fix gcc and clang issues 2018-09-13 13:57:27 +02:00
Jonny007-MKD
0354ccb049 Added special catch for std::exception in GTEST_TEST_NO_THROW_ 2018-09-13 10:24:10 +02:00
Levente Polyak
c4ef6f3a05 version: fix declared version to be in sync with CMakeLists.txt 2018-09-13 00:50:17 +02:00
Gennadiy Civil
5131cf737c
Merge pull request #1828 from gdsotirov/patch-1
Return GTEST_ATTRIBUTE_UNUSED_ on record_property_env
2018-09-12 14:45:36 -04:00
Gennadiy Civil
ca247e1797
Merge branch 'master' into patch-1 2018-09-12 14:24:36 -04:00
Gennadiy Civil
d25268a55f
Merge pull request #1829 from google/gennadiycivil-patch-1
Update appveyor.yml
2018-09-12 11:42:08 -04:00
Gennadiy Civil
5eee7a343b
Update appveyor.yml 2018-09-12 10:33:31 -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
Gennadiy Civil
4d066127be
Merge pull request #1827 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-11 14:41:57 -04:00
misterg
db405ff8c3 Googletest export
Project import sync

PiperOrigin-RevId: 212450488
2018-09-11 12:59:19 -04:00
misterg
936dae4efe Googletest export
Internal Change

PiperOrigin-RevId: 211798074
2018-09-11 12:59:06 -04:00
Gennadiy Civil
0c799d0436
Merge pull request #1820 from Romain-Geissler/fix-gcc-misleading-indentation-warning-again
Fix gcc misleading indentation again.
2018-09-10 21:23:02 -04:00
Romain Geissler
93b05da26c Fix gcc misleading indentation again. 2018-09-10 01:45:14 +02:00
Gennadiy Civil
34d5d22b64
Merge pull request #1814 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-06 08:48:52 -04:00
misterg
0ddb6bf09b Googletest export
Internal Change

PiperOrigin-RevId: 211699161
2018-09-06 08:47:50 -04:00
Abseil Team
0d2262138c Googletest export
Make EXPECT_THROW print the actual exception type on the "threw the wrong exception type" case if the actual exception is a std::exception

PiperOrigin-RevId: 211524592
2018-09-06 08:47:43 -04:00
Abseil Team
dbd55366c8 Googletest export
Make EXPECT_THROW print the actual exception type on the "threw the wrong exception type" case if the actual exception is a std::exception

PiperOrigin-RevId: 211519873
2018-09-06 08:47:36 -04:00
misterg
51cabc168f Googletest export
Project import

PiperOrigin-RevId: 211091791
2018-09-06 08:47:23 -04:00
Gennadiy Civil
0614a539f0
Merge pull request #1809 from KindDragon/fix-doc-links
Fix doc links
2018-09-05 14:08:31 -04:00
Arkady Shapkin
e6c407d605 Fix doc links 2018-09-04 23:07:18 +03:00
Gennadiy Civil
a2b149b239
Merge pull request #1801 from SoapGentoo/fix-gmock-pkgconfig
pkgconfig: Unconditionally depend on GTest when using GMock
2018-09-04 11:31:18 -04:00
Gennadiy Civil
990bf4ffd1
Merge branch 'master' into fix-gmock-pkgconfig 2018-09-04 10:59:31 -04:00
Gennadiy Civil
3787a483b9
Merge pull request #1803 from KindDragon/patch-2
Update documentation to syntax highlight code
2018-09-04 10:56:49 -04:00
Gennadiy Civil
25bf884321
Merge pull request #1806 from asiplas/master
Fix #1805: add `.md` to hyperlink
2018-09-04 10:55:52 -04:00
Andrew Siplas
70a7017582 Fix #1805: add .md to hyperlink 2018-09-03 22:13:52 -04:00
Arkady Shapkin
de9675986f Update documentation to syntax highlight code 2018-09-03 21:56:23 +03:00
David Seifert
79875d320e
pkgconfig: Unconditionally depend on GTest when using GMock
* GTest is a required dependency for GMock, hence
  we always need to pull it in.
2018-09-02 16:25:18 +02:00
Gennadiy Civil
c7a8998556
Update README.md 2018-08-31 11:56:04 -04:00
Gennadiy Civil
2fe3bd994b
Merge pull request #1433 from dsacre/fix-clang-warnings
Fix Clang warnings
release-1.8.1
2018-08-31 11:21:57 -04:00
Gennadiy Civil
d615eebd9f
Merge branch 'master' into fix-clang-warnings 2018-08-31 10:57:16 -04:00
Gennadiy Civil
4005388b3b
Merge pull request #1799 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-08-31 10:50:06 -04:00
Gennadiy Civil
6dd60ec437
Update googletest-output-test-golden-lin.txt 2018-08-31 10:26:59 -04:00
Dominic Sacré
13c5230bbf 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é
8f279122de 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é
bb18e25d15 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é
d41f53ae78 Make dummy variables static to avoid compiler warnings
Fix -Wmissing-variable-declarations warnings from Clang.
2018-08-31 14:57:23 +02:00
Dominic Sacré
e41f38b3b7 Re-generate gtest-param-test.h from gtest-param-test.h.pump
Commit 6a26e47cfcc174cc85651cbde0b0158d03321e2f changed the formatting
of INSTANTIATE_TEST_CASE_P() in the generated header file only.

This commit reverts to the formatting produced by running "pump
gtest-param-test.h.pump", which seems to be more consistent with the
rest of the file.
2018-08-31 14:52:42 +02:00
Gennadiy Civil
76af254c47
Update googletest-output-test-golden-lin.txt
manual update golden lin
2018-08-30 21:46:15 -04:00
Gennadiy Civil
0ecf38f3a2
Update googletest-output-test-golden-lin.txt
manual update, golden lin
2018-08-30 21:42:07 -04:00
misterg
a5cc7aa3fe Googletest export
Fix broken OSS windows build.

PiperOrigin-RevId: 210969049
2018-08-30 21:33:10 -04:00
misterg
41b539941f Googletest export
Silence MSVC warnings

PiperOrigin-RevId: 210726964
2018-08-30 21:33:02 -04:00
Abseil Team
00d1ffc8c8 Googletest export
Fix the typed test names in the tests for customized typed test parameters.

As required by googletest documentation, the names should not contain an underscore.

PiperOrigin-RevId: 210678652
2018-08-30 21:32:54 -04:00
misterg
2cc008538c Googletest export
Internal Change

PiperOrigin-RevId: 210594341
2018-08-30 21:32:41 -04:00
Gennadiy Civil
b8e2562086
Merge pull request #1790 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-08-29 22:57:12 -04:00
Gennadiy Civil
9ad739833e
Update gmock-matchers.h 2018-08-29 22:32:08 -04:00
Gennadiy Civil
1db4a426d4
Merge branch 'master' into 9A681768AABE08D1EFA5CA77528236A4 2018-08-29 22:07:39 -04:00
Gennadiy Civil
3dbba3b072 Changing clang tp 3.9 as 3.7 no longer works on Travis 2018-08-29 22:02:08 -04:00