Jonny007-MKD
c40f55a229
Avoid these ambiguities
2018-09-15 09:00:39 +02:00
Jonny007-MKD
6494f5232b
Print message of unexpected std::exception in EXPECT_THROW, too
2018-09-14 23:22:04 +02: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
Gennadiy Civil
d615eebd9f
Merge branch 'master' into fix-clang-warnings
2018-08-31 10:57:16 -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é
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 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
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
Abseil Team
03867b5389
Googletest export
...
Add the possibility of specifying the name in type parameterized tests.
Similar to how the last parameter of INSTANTIATE_TEST_CASE_P allows to override the name for (non-type) parametrized tests, this adds the possibility of adding a parameter to INSTANTIATE_TYPED_TEST_CASE_P. The argument has to be a class, which contains a static templated function GetName<T>(int), returning the name for type T.
PiperOrigin-RevId: 210532231
2018-08-28 16:53:45 -04:00
Abseil Team
52f8183e7f
Googletest export
...
Breaks Windows builds
PiperOrigin-RevId: 210434120
2018-08-28 16:53:38 -04:00
Abseil Team
167c5e8188
Googletest export
...
Fix Theta(N^2) memory usage of EXPECT_EQ(string) when the strings don't match.
The underlying CalculateOptimalEdits() implementation used a simple
dynamic-programming approach that always used N^2 memory and time. This meant
that tests for equality of large strings were ticking time bombs: They'd work
fine as long as the test passed, but as soon as the strings differed the test
would OOM, which is very hard to debug.
I switched it out for a Dijkstra search, which is still worst-case O(N^2), but
in the usual case of mostly-matching strings, it is much closer to linear.
PiperOrigin-RevId: 210405025
2018-08-28 16:53:30 -04:00
misterg
df428ec118
googletest export
...
- 209457654 Import of OSS PR, https://github.com/google/googletest/pu ... by misterg <misterg@google.com>
PiperOrigin-RevId: 209457654
2018-08-20 14:50:48 -04:00
Gennadiy Civil
cda442da0b
Formatting
2018-08-17 13:44:48 -04:00
Gennadiy Civil
edc1bc606e
Merge branch 'master' into patch-1
2018-08-17 13:31:01 -04:00
Gennadiy Civil
b1bfdf0bf4
Small formatting change
...
And then we can merge
2018-08-16 15:10:07 -04:00
Gennadiy Civil
3c4f437c24
Merge branch 'master' into master
2018-08-15 11:33:15 -07:00
Gennadiy Civil
7e7e3a6f45
Merge branch 'master' into patch-1
2018-08-15 08:37:15 -07: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
2421eff9f7
Merge branch 'master' into deprecate
2018-08-14 08:47:13 -07:00
tisi1988
87a37c60e3
Merge branch 'master' into master
2018-08-14 15:32:22 +02:00
Gennadiy Civil
c203bee245
formatting custom/README.md
2018-08-13 22:45:53 -04:00
Gennadiy Civil
9060e19c87
formatting for new READMEs
2018-08-13 16:23:17 -04:00
Gennadiy Civil
63baab8924
Move instructions into custom/README files
2018-08-13 14:31:56 -04:00
Gennadiy Civil
4d9411467d
code management comments, [ci-skip], no functionality changes
2018-08-09 12:21:49 -04:00
Loo Rong Jie
24786cb498
Merge branch 'master' into deprecate
2018-08-09 20:08:44 +08:00
tisi1988
efe27ac05c
Merge branch 'master' into master
2018-08-09 10:58:22 +02:00
Gennadiy Civil
0eeb1afcac
code management changes, no functionalty changes
2018-08-08 14:41:21 -04:00
Gennadiy Civil
b345bf9090
Formatting changes,small cleanup, no functionality changes
2018-08-07 11:49:47 -04:00
tisi1988
e9b05a4d6a
Merge branch 'master' into master
2018-08-07 11:12:00 +02:00
Gennadiy Civil
61f949387e
Merge branch 'master' into deprecate
2018-08-03 12:05:07 -04:00
tisi1988
25e1436b08
Merge branch 'master' into master
2018-08-01 12:11:18 +02:00
Gennadiy Civil
6269264dfe
Merge branch 'master' into deprecate
2018-07-30 16:11:06 -04:00
Gennadiy Civil
f978c651ed
Merge branch 'master' into master
2018-07-30 14:01:17 -04:00
Gennadiy Civil
ec13264af4
added missing comments
2018-07-27 15:05:20 -04:00
Gennadiy Civil
984cba30ed
Formatting changes for automatic code management
2018-07-27 11:15:08 -04:00
Gennadiy Civil
6cacb41935
Merge branch 'master' into deprecate
2018-07-26 13:04:53 -04:00
Piotr Kąkol
309e8a271e
Updated broken and outdated URLs
2018-07-25 19:19:26 +02:00
Gennadiy Civil
ed1edf641d
Formatting changes, code sync
2018-07-25 10:24:13 -04:00
tisi1988
1ae4fdb790
Merge branch 'master' into master
2018-07-23 10:10:26 +02:00
Gennadiy Civil
fd4f7cc729
Merge branch 'master' into deprecate
2018-07-20 15:53:16 -04:00
Gennadiy Civil
a02af2f689
code merge
2018-07-20 11:28:58 -04:00
Gennadiy Civil
1f9c668a04
Merge branch 'master' into deprecate
2018-07-19 11:07:10 -04:00
Gennadiy Civil
7e73a7ae6e
Formatting and a link
2018-07-18 11:17:19 -04:00
Loo Rong Jie
3a8d744030
Disable MSVC function deprecation when using Clang
2018-07-13 21:23:28 +08:00
Derek Mauro
6c7878a151
Adds the UniversalPrinter for absl::variant.
2018-07-12 13:46:50 -04:00