| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 211699161
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Project import
PiperOrigin-RevId: 211091791
|
|\
| |
| | |
Fix doc links
|
|/ |
|
|\
| |
| | |
pkgconfig: Unconditionally depend on GTest when using GMock
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Update documentation to syntax highlight code
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Fix #1805: add `.md` to hyperlink
|
|/ / |
|
|/
|
|
|
| |
* GTest is a required dependency for GMock, hence
we always need to pull it in.
|
| |
|
|\
| |
| | |
Fix Clang warnings
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Googletest export
|
| | | |
|
| | |
| | |
| | | |
manual update golden lin
|
| | |
| | |
| | | |
manual update, golden lin
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix broken OSS windows build.
PiperOrigin-RevId: 210969049
|
| | |
| | |
| | |
| | |
| | |
| | | |
Silence MSVC warnings
PiperOrigin-RevId: 210726964
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| | |
Internal Change
PiperOrigin-RevId: 210594341
|
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| |
| |
| | |
Fix Clang warning:
| warning: no previous extern declaration for non-static variable 'g_argvs'
| [-Wmissing-variable-declarations]
|
| |
| |
| |
| | |
Fix -Wmissing-variable-declarations warnings from Clang.
|
|/
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Googletest export
|
| | |
|
| |\
| |/
|/| |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix broken FAQ link in primer.md
|
|/ /
| |
| | |
The current link pointed to a non existing section in the FAQ.
|
| | |
|
| | |
|
| |
| |
| | |
Bring travil yml back to the master branch state
|
| | |
|
| |
| |
| | |
Possibly related to travis env
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix line that was wrapping in the middle of a link
This looks uglier, but has the advantage that the link is kept in one
piece.
PiperOrigin-RevId: 210537337
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
Breaks Windows builds
PiperOrigin-RevId: 210434120
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|