| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
PiperOrigin-RevId: 215916605
|
|
|
|
|
|
|
|
|
|
|
| |
Now that googletest has moved to C++11, it should no longer
use NULL or 0 for the null pointer. This patch converts all
such usages to nullptr using clang-tidy.
This prevents LLVM from issuing -Wzero-as-null-pointer-constant
warnings.
PiperOrigin-RevId: 215814400
|
|
|
|
|
|
|
|
| |
f5260ae757a681566d8f7d0558b8dc0551036506
Closes #1830
PiperOrigin-RevId: 215563532
|
|
|
|
|
|
|
|
|
| |
75e834700d19aa373b428c7c746f951737354c28
Closes #1544
With refinements and changes
PiperOrigin-RevId: 215273083
|
|
|
|
|
|
| |
Project import generated by Copybara.
PiperOrigin-RevId: 214456152
|
|
|
|
|
|
| |
Project import generated by Copybara.
PiperOrigin-RevId: 214441835
|
|
|
|
|
|
|
| |
Project import generated by Copybara.
Including recently accepted and merged PRs
PiperOrigin-RevId: 213856848
|
| |
|
| |
|
|
|
|
| |
Shorten lines in unit tests
|
| |
|
|\
| |
| | |
[msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColors
|
| | |
|
| |
| |
| |
| |
| |
| | |
Fixing broken OSS build, add missing include
PiperOrigin-RevId: 213812210
|
| |
| |
| |
| |
| |
| | |
support printing std::reference_wrapper<T> in gUnit
PiperOrigin-RevId: 213270392
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
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 -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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
- 209457654 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com>
PiperOrigin-RevId: 209457654
|
| |
|
|\ |
|
| |
| |
| | |
And then we can merge
|
| |\ |
|
| |\ \ |
|
| |\ \ \ |
|
| |\ \ \ \ |
|
| |\ \ \ \ \ |
|
| |\ \ \ \ \ \ |
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
MutexBase class.
|
|\ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|_|/
| |/| | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | |_|_|_|_|_|/
| | |/| | | | | | |
|