| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Mark legacy _TEST_CASE_ macros as deprecated
PiperOrigin-RevId: 232303251
|
|\
| |
| |
| | |
PiperOrigin-RevId: 231456275
|
|\ \
| |/
| |
| | |
PiperOrigin-RevId: 231434457
|
|/ |
|
|
|
|
|
|
|
| |
Replace testing::internal::ImplicitlyConvertible with std::is_convertible
Fixes #2054
PiperOrigin-RevId: 228334305
|
|
|
|
|
|
| |
Fix GTEST_IS_NULL_LITERAL_ for types that have magic implicit conversions.
PiperOrigin-RevId: 227879345
|
|
|
|
|
|
| |
TestCase->TestSuite refactoring
PiperOrigin-RevId: 227702164
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 227575279
|
|
|
|
|
|
|
|
| |
Remove the #ifs for old, unsupported and buggy compilers:
* old versions of GCC & MSVC
* Symbian
PiperOrigin-RevId: 227116941
|
|
|
|
| |
PiperOrigin-RevId: 227030722
|
|
|
|
|
|
| |
Unifdef c++11-related macros from googletest now that it requires C++11.
PiperOrigin-RevId: 225905601
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 225231727
|
|\
| |
| |
| | |
PiperOrigin-RevId: 224054240
|
|/ |
|
|
|
|
|
|
| |
Applied fixes for ClangTidy modernize-use-override and modernize-use-using.
PiperOrigin-RevId: 223800219
|
|
|
|
|
|
| |
Accept gmock matchers in EXPECT_EXIT and friends to allow matches other than simple regex matches on death output.
PiperOrigin-RevId: 223035409
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 222123106
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Adding GTEST_INTERNAL_DEPRECATED ability to mark deprecated
PiperOrigin-RevId: 219515184
|
|
|
|
|
|
| |
Remove scoped_ptr replace with std::unique_ptr
PiperOrigin-RevId: 219291284
|
|\
| |
| |
| | |
PiperOrigin-RevId: 219134349
|
| | |
|
|/
|
|
|
|
| |
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 219129336
|
|
|
|
|
|
| |
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 218618184
|
|
|
|
|
|
| |
Remove linked_ptr and use std::shared_ptr instead
PiperOrigin-RevId: 218571466
|
|
|
|
|
|
| |
Change ValuesArray to require much less template instantiation depth.
PiperOrigin-RevId: 218170842
|
|
|
|
|
|
|
| |
New variadic implementation for gtest-param-test
Removed non-variadic implementation and added variadic for ValueArray and Values
PiperOrigin-RevId: 217703627
|
|
|
|
|
|
| |
C++11 code cleanup.
PiperOrigin-RevId: 217364243
|
|
|
|
|
|
|
|
| |
f203b2db77161fe54846ea9e839ebec81aeeccac
Closes #1899
PiperOrigin-RevId: 216719020
|
|
|
|
|
|
| |
Remove all mention of TR1 tuple and our own implementation of tuple.
PiperOrigin-RevId: 216395043
|
|
|
|
| |
PiperOrigin-RevId: 216383938
|
|
|
|
| |
PiperOrigin-RevId: 216184859
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
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 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
|