| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PiperOrigin-RevId: 231286700
|
|\ |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
error (with -Werror)
The unused attribute was removed with commit 3299a23 on 2018-02-23, but it currently breaks build of 1.8.1, because of -Werror GCC parameter as reported in issue #1825.
|
| | | |
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Update documentation to syntax highlight code
|
| |/ |
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| | |
manual update golden lin
|
| |
| |
| | |
manual update, golden lin
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ |
|
| |
| |
| | |
The current link pointed to a non existing section in the FAQ.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
| |
Code Cleanup
PiperOrigin-RevId: 210393771
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1d9a1912e7f42e8ae66ea365b5b8508fecb31509
Closes #1658
Review and changes, mister@google.com
PiperOrigin-RevId: 210374286
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To make sure packages are relocatable, use `$<INSTALL_PREFIX>` in
`$<INSTALL_INTERFACE:...>` `target_include_directories`.
`$<INSTALL_PREFIX>` was introduced in CMake 2.8.11, which is already
being checked for locally.
References:
- https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#id19
- https://github.com/robotology/how-to-export-cpp-library/blob/claudio/headeronly/src/LibTemplateCMake/CMakeLists.txt#L42
Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Remove unneeded check for NULL.
Note: this started as OSS PR https://github.com/google/googletest/pull/967 but changed
PiperOrigin-RevId: 209819732
|
| |
| |
| |
| |
| |
| | |
Internal Change
PiperOrigin-RevId: 209498445
|
| |
| |
| |
| |
| |
| | |
Internal Change
PiperOrigin-RevId: 209471987
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Rework of the closed pull request #768
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I _think_ this represents some of the "best practices" for exporting
targets. They'll be available in a `googletest::` namespace (e.g.
`googletest::gmock`) with non-namespaced `ALIAS` targets.
- Added GOOGLETEST_VERSION variable
- Use `CMakePackageConfigHelpers`, bump minimum CMake version to 2.8.8
Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>
|
| |
| |
| |
| |
| |
| | |
- 209457654 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com>
PiperOrigin-RevId: 209457654
|
| |
| |
| |
| |
| |
| | |
- 209457486 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com>
PiperOrigin-RevId: 209457486
|
| |\
| | |
| | | |
docs: fixed broken references to sections in Advanced guide
|
| | | |
|
| | | |
|
| |\ \
| | |/ |
|