diff options
author | trzeci <kontakt@trzeci.eu> | 2019-12-17 23:43:31 +0100 |
---|---|---|
committer | trzeci <kontakt@trzeci.eu> | 2019-12-17 23:43:31 +0100 |
commit | 9d8222ad667284cfad8be9cb27b25dab75f34ccb (patch) | |
tree | c39c9ed6cf1bc9eaea3b9189cef3eddf2f2b075a /test/gtest_xml_test_utils.py | |
parent | d166e09483845b9b6a658dccc3d3dbb293676b62 (diff) | |
download | googletest-9d8222ad667284cfad8be9cb27b25dab75f34ccb.tar.gz googletest-9d8222ad667284cfad8be9cb27b25dab75f34ccb.tar.bz2 googletest-9d8222ad667284cfad8be9cb27b25dab75f34ccb.zip |
Disable move constructor and assignment operator for test classes.
Disable move operations for TEST() and TEST_F() macros.
Previous implementation disabled only copy ctor and assing operator, but
this was violating rule of 5[1], which was captured by static code analysis tools
like clang-tidy `cppcoreguidelines-special-member-functions`.
[1]: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c21-if-you-define-or-delete-any-default-operation-define-or-delete-them-all
Diffstat (limited to 'test/gtest_xml_test_utils.py')
0 files changed, 0 insertions, 0 deletions