Gennadiy Civil
f335c30660
Formatting
2018-09-23 09:34:47 -07: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
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
Gennadiy Civil
2e509c1a72
Merge branch 'master' into fix-clang-warnings
2018-08-31 10:57:16 -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é
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 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
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
Abseil Team
6e639d6719
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
668c1f4440
Googletest export
...
Breaks Windows builds
PiperOrigin-RevId: 210434120
2018-08-28 16:53:38 -04:00
Abseil Team
e5a824e206
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
11b91b042a
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
d0c8a01252
Formatting
2018-08-17 13:44:48 -04:00
Gennadiy Civil
d7d06d64cb
Merge branch 'master' into patch-1
2018-08-17 13:31:01 -04:00
Gennadiy Civil
135bd480e0
Small formatting change
...
And then we can merge
2018-08-16 15:10:07 -04:00
Gennadiy Civil
9b5ca3834a
Merge branch 'master' into master
2018-08-15 11:33:15 -07:00
Gennadiy Civil
4b9d242dd1
Merge branch 'master' into patch-1
2018-08-15 08:37:15 -07:00
Gennadiy Civil
f0bcc9b875
Comments changes, no functionality changes.
2018-08-14 15:04:11 -04:00
Gennadiy Civil
bdc777e251
Comments changes, no functionality changes
2018-08-14 14:04:07 -04:00
Gennadiy Civil
23c6b5b54e
Merge branch 'master' into deprecate
2018-08-14 08:47:13 -07:00
tisi1988
cf1d6b7516
Merge branch 'master' into master
2018-08-14 15:32:22 +02:00
Gennadiy Civil
b0f2daec87
formatting custom/README.md
2018-08-13 22:45:53 -04:00
Gennadiy Civil
5bdf9c5f70
formatting for new READMEs
2018-08-13 16:23:17 -04:00
Gennadiy Civil
14e8a3161d
Move instructions into custom/README files
2018-08-13 14:31:56 -04:00
Gennadiy Civil
b0ccde3526
code management comments, [ci-skip], no functionality changes
2018-08-09 12:21:49 -04:00
Loo Rong Jie
5201142b92
Merge branch 'master' into deprecate
2018-08-09 20:08:44 +08:00
tisi1988
32172f46fd
Merge branch 'master' into master
2018-08-09 10:58:22 +02:00
Gennadiy Civil
ced597d723
code management changes, no functionalty changes
2018-08-08 14:41:21 -04:00
Gennadiy Civil
c59e574e3f
Formatting changes,small cleanup, no functionality changes
2018-08-07 11:49:47 -04:00
tisi1988
0c0670d08e
Merge branch 'master' into master
2018-08-07 11:12:00 +02:00
Gennadiy Civil
5c4a9af533
Merge branch 'master' into deprecate
2018-08-03 12:05:07 -04:00
tisi1988
f416fb5c70
Merge branch 'master' into master
2018-08-01 12:11:18 +02:00
Gennadiy Civil
5e99cf9f73
Merge branch 'master' into deprecate
2018-07-30 16:11:06 -04:00
Gennadiy Civil
4cd6829191
Merge branch 'master' into master
2018-07-30 14:01:17 -04:00
Gennadiy Civil
05434f9b14
added missing comments
2018-07-27 15:05:20 -04:00
Gennadiy Civil
821944fa56
Formatting changes for automatic code management
2018-07-27 11:15:08 -04:00
Gennadiy Civil
5e61f7662e
Merge branch 'master' into deprecate
2018-07-26 13:04:53 -04:00
Piotr Kąkol
65e7d50e3e
Updated broken and outdated URLs
2018-07-25 19:19:26 +02:00