Commit Graph

2999 Commits

Author SHA1 Message Date
Gennadiy Civil
b6e91aff09 Merge pull request #2268 from kalaxy/fuse_spi_in_header
Fuse gtest-spi.h into the resulting header.
2019-06-07 13:08:18 -04:00
Gennadiy Civil
fd4e710c04 Merge pull request #2274 from goudan-er/master
fix typo
2019-06-07 13:08:03 -04:00
Gennadiy Civil
a38a61080f Merge pull request #2270 from Peter-Levine:fix-signed-wchar
PiperOrigin-RevId: 251713108
2019-06-07 13:06:50 -04:00
Wenyuan Yan
29eec11805 fix typo 2019-06-06 11:47:40 +08:00
Abseil Team
02400d0ba0 Googletest export
fdio_pipe_half is now the same as fdio_pipe_half2. We can switch back to the cleaner name.

PiperOrigin-RevId: 251633832
2019-06-05 11:52:45 -04:00
misterg
5af0ca857b Googletest export
comment change

PiperOrigin-RevId: 251231524
2019-06-05 11:52:33 -04:00
Peter Levine
475c80567d Don't allow signed/unsigned wchar_t in gcc 9 and later 2019-06-04 01:07:18 -04:00
Kalon Mills
c1c96eb204 Fuse gtest-spi.h into the resulting header.
Previously this was fused into the source file, but this prevents users of the
fused file from using those utilities directly.
2019-06-03 17:09:08 -07:00
Gennadiy Civil
537ccf98ba Merge pull request #2264 from mbrobbel:suppress-cmp0048-warning
PiperOrigin-RevId: 250620088
2019-05-29 23:36:08 -04:00
Abseil Team
3ff6486fb1 Googletest export
Add a safety nullptr check to catch the case where the /tmp file used for capturing a stream cannot be created.

PiperOrigin-RevId: 250523012
2019-05-29 23:35:59 -04:00
Matthijs Brobbel
fbcb19a6b7 Suppress CMake policy warning (CMP0048)
As suggested in #2150.
2019-05-28 11:06:26 +02:00
Gennadiy Civil
d960b9a28a Update CONTRIBUTING.md 2019-05-27 09:51:46 -04:00
Gennadiy Civil
ad588d95d0 Update CONTRIBUTING.md
Clarify googler PR policy
2019-05-27 09:51:18 -04:00
gennadiycivil
36440b1953 Merge pull request #2260 from 741g:master
PiperOrigin-RevId: 249660276
2019-05-23 16:20:24 -04:00
Gennadiy Civil
061900a8bc Merge pull request #2259 from ngie-eign:fix-maintainers-typo
PiperOrigin-RevId: 249500162
2019-05-22 18:11:29 -04:00
Gennadiy Civil
ab1b92b2f3 Update README.md
Cleanup, remove legacy build scripts, googletest only provides Bazel and CMake
2019-05-22 13:41:35 -04:00
gennadiycivil
d2b3dc7ee0 removing msvc 2019-05-22 12:10:54 -04:00
gennadiycivil
bd146a1058 removing msvc 2019-05-22 12:10:06 -04:00
gennadiycivil
86533087b0 removing codegear 2019-05-22 12:08:29 -04:00
Lingfeng Yang
e923f515b0 unbreak windows build
windows msvc toolchain with werror and wconversion
will break if converting long to DWORD.
2019-05-22 08:57:06 -07:00
Enji Cooper
fbc3bf9960 Fix typo introduced in 63be3dcc24 (maintaners -> maintainers)
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-05-19 23:31:04 -07:00
Gennadiy Civil
ec4709e85e Update advanced.md
Adding back section that was lost in merge
2019-05-17 15:10:47 -04:00
Gennadiy Civil
1b5c5ac88d Merge pull request #2254 from chaoran:master
PiperOrigin-RevId: 248759825
2019-05-17 15:05:44 -04:00
Chaoran Yang
26552ffc59 add unit test for overload & operator 2019-05-13 15:39:18 +00:00
Gennadiy Civil
0f74212392 Added docs for testing::RegisterTest 2019-05-13 10:35:10 -04:00
Chaoran Yang
bc887befb7 Use std::addressof to instead of plain '&'.
Otherwise the code won't compile if the '&' operater is overloaded and
return something that cannot be casted to void *.
2019-05-12 00:14:54 +00:00
Abseil Team
261cb16318 Googletest export
Print the test output on assertion failure.

PiperOrigin-RevId: 247283764
2019-05-10 15:28:12 -04:00
Abseil Team
a3ef005fe9 Googletest export
Remove special case for protocol buffers. It is no longer needed.

PiperOrigin-RevId: 246550795
2019-05-03 15:11:37 -04:00
gennadiycivil
fa8352a3de Merge pull request #2245 from daquexian:fix_wsign_conversion
PiperOrigin-RevId: 246550729
2019-05-03 15:11:30 -04:00
misterg
b21884f567 Googletest export
Clarify build system support - CMake and automake community supported

PiperOrigin-RevId: 245821927
2019-05-03 15:11:22 -04:00
daquexian
eab9b671b4 Fix -Wsign-conversion error by adding static_cast 2019-05-03 00:21:44 +08:00
Gennadiy Civil
fbf759c15c Merge pull request #2242 from SylvestreG:master
PiperOrigin-RevId: 245798478
2019-04-29 15:22:54 -04:00
Gennadiy Civil
6ce71d5e88 Removing obsolete msvc 2005 and 2010 2019-04-29 14:43:45 -04:00
Gennadiy Civil
6adb42ef4d Removing obsolete codegear and msvc 2010 2019-04-29 14:39:48 -04:00
misterg
7e70270c0a Googletest export
Internal Change

PiperOrigin-RevId: 245788057
2019-04-29 14:32:28 -04:00
Gennadiy Civil
4d09fe240f Merge pull request #2241 from ngie-eign:fix-wsign-conversion-fallout
PiperOrigin-RevId: 245430295
2019-04-26 13:04:12 -04:00
Sylvestre Gallon
4a4a02da75 Fix compilation on CentOS 7 2019-04-26 13:48:37 +02:00
Enji Cooper
4447905a6f Address fallout from -Wsign-conversion work on Windows
Some Windows users builds were broken after a0d60be. This change
addresses the lingering -Wsign-conversion issues with those platforms
by adding some missing `static_cast` calls as needed.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-04-26 04:08:16 -07:00
Knut Omang
25248159b9 Remove / from parameterized test names if base test name is empty
This is useful to let a subsystem generate test names based on parameterized tests
without exposing them as such to the user.

Signed-off-by: Knut Omang <knut.omang@oracle.com>
2019-04-26 06:33:41 +02:00
Abseil Team
4327ab108d Googletest export
Add GTEST_FAIL_AT, an equivalent to ADD_FAILURE_AT but that
spawns a fatal failure rather than a non-fatal, eg. the equivalent
of an ASSERT* failure rather than an EXPECT* failure.

PiperOrigin-RevId: 244746609
2019-04-24 09:34:40 -04:00
Gennadiy Civil
e285f915fb Update README.md 2019-04-18 15:58:27 -04:00
misterg
0193f050cf Googletest export
Fixes https://github.com/google/googletest/issues/2232

PiperOrigin-RevId: 244237560
2019-04-18 15:46:04 -04:00
Abseil Team
710ff86592 Googletest export
Remove GMock Doctor.
It has not been actively supported for a while.
We also now have better techniques to improve compiler errors where needed
instead of requiring a separate tool to diagnose them.

PiperOrigin-RevId: 244196068
2019-04-18 15:45:56 -04:00
misterg
ce3a168419 Googletest export
Expose more information in SuiteApiResolver diagnostic output

PiperOrigin-RevId: 244179347
2019-04-18 15:45:49 -04:00
Gennadiy Civil
7e27fc4c95 Merge pull request #2170 from ngie-eign:issue-2146-ver2
PiperOrigin-RevId: 244069956
2019-04-18 09:44:24 -04:00
Abseil Team
7e0f8d157c Googletest export
[googletest] Fix death test condition.

PiperOrigin-RevId: 243742424
2019-04-16 16:17:41 -04:00
Abseil Team
ddf1e47291 Googletest export
Migrate ZX_WAIT_ASYNC_REPEATING to ZX_WAIT_ASYNC_ONCE

ZX_WAIT_ASYNC_REPEATING is deprecated so convert code to use
ZX_WAIT_ASYNC_ONCE instead.

PiperOrigin-RevId: 243707147
2019-04-16 16:17:34 -04:00
Gennadiy Civil
826e292985 Merge pull request #2230 from return:style-issue
PiperOrigin-RevId: 243313653
2019-04-12 16:36:56 -04:00
Calvin Hill
731664bff0 Sort Haiku platform definition alphabetically.
Fixes a minor ordering issue when defining the platform macro.
Also fixes a minor typo: 'Max OS X' -> 'Mac OS X'.
2019-04-12 19:26:07 +01:00
Gennadiy Civil
ce1dc32bca Merge pull request #2226 from davidben:msvc-5046
PiperOrigin-RevId: 243121568
2019-04-11 15:59:46 -04:00