Commit Graph

2305 Commits

Author SHA1 Message Date
Abseil Team
ccce843d80 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
dd63b729b5 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
9b362d358c Merge pull request #1834 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-13 09:33:13 -04:00
misterg
393df5fc55 Googletest export
Project import generated by Copybara.

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

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

PiperOrigin-RevId: 212656679
2018-09-13 09:32:01 -04:00
Levente Polyak
c7d43aed4a version: fix declared version to be in sync with CMakeLists.txt 2018-09-13 00:50:17 +02:00
Gennadiy Civil
f1d7b3947d 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
cbb4ca7fa9 Merge branch 'master' into patch-1 2018-09-12 14:24:36 -04:00
Gennadiy Civil
8594fa3784 Merge pull request #1829 from google/gennadiycivil-patch-1
Update appveyor.yml
2018-09-12 11:42:08 -04:00
Gennadiy Civil
aad00a9786 Update appveyor.yml 2018-09-12 10:33:31 -04: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
Gennadiy Civil
d1a43c6a3b Merge pull request #1827 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-11 14:41:57 -04:00
misterg
ef45960a20 Googletest export
Project import sync

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

PiperOrigin-RevId: 211798074
2018-09-11 12:59:06 -04:00
Gennadiy Civil
bb32076d00 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
ff5d6c907b Fix gcc misleading indentation again. 2018-09-10 01:45:14 +02:00
Gennadiy Civil
a515d1c82d Merge pull request #1814 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-09-06 08:48:52 -04:00
misterg
3330acd125 Googletest export
Internal Change

PiperOrigin-RevId: 211699161
2018-09-06 08:47:50 -04:00
Abseil Team
40335b97df 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
8f46e5d121 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
914f86547f Googletest export
Project import

PiperOrigin-RevId: 211091791
2018-09-06 08:47:23 -04:00
Gennadiy Civil
77a273c1d6 Merge pull request #1809 from KindDragon/fix-doc-links
Fix doc links
2018-09-05 14:08:31 -04:00
Arkady Shapkin
e7668ee9d7 Fix doc links 2018-09-04 23:07:18 +03:00
Gennadiy Civil
50c7822c5f 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
aa45b8bae4 Merge branch 'master' into fix-gmock-pkgconfig 2018-09-04 10:59:31 -04: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
Gennadiy Civil
8f9ee6d609 Merge pull request #1806 from asiplas/master
Fix #1805: add `.md` to hyperlink
2018-09-04 10:55:52 -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
David Seifert
e4111d13ca 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
31a5e6efc1 Update README.md 2018-08-31 11:56:04 -04:00
Gennadiy Civil
5991c1a133 Merge pull request #1433 from dsacre/fix-clang-warnings
Fix Clang warnings
2018-08-31 11:21:57 -04:00
Gennadiy Civil
2e509c1a72 Merge branch 'master' into fix-clang-warnings 2018-08-31 10:57:16 -04:00
Gennadiy Civil
99d4b9bb2e Merge pull request #1799 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-08-31 10:50:06 -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
Dominic Sacré
6626ef1905 Re-generate gtest-param-test.h from gtest-param-test.h.pump
Commit 6a26e47cfc 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
22d19ae17d Update googletest-output-test-golden-lin.txt
manual update golden lin
2018-08-30 21:46:15 -04:00
Gennadiy Civil
cf34aa5973 Update googletest-output-test-golden-lin.txt
manual update, golden lin
2018-08-30 21:42:07 -04:00
misterg
617e9f71a3 Googletest export
Fix broken OSS windows build.

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

PiperOrigin-RevId: 210726964
2018-08-30 21:33:02 -04:00
Abseil Team
2988059caf 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
ea0db3df39 Googletest export
Internal Change

PiperOrigin-RevId: 210594341
2018-08-30 21:32:41 -04:00
Gennadiy Civil
fd6c571ddb Merge pull request #1790 from google/9A681768AABE08D1EFA5CA77528236A4
Googletest export
2018-08-29 22:57:12 -04:00
Gennadiy Civil
25d7bd5af9 Update gmock-matchers.h 2018-08-29 22:32:08 -04:00
Gennadiy Civil
af9820f2f0 Merge branch 'master' into 9A681768AABE08D1EFA5CA77528236A4 2018-08-29 22:07:39 -04:00