libstdc++: Improve comments in std::string tests
authorJonathan Wakely <jwakely@redhat.com>
Wed, 14 Oct 2020 11:07:31 +0000 (12:07 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 14 Oct 2020 11:52:47 +0000 (12:52 +0100)
commit5e961dba46a84b5c4ba5086d05db6ff449d8682f
treed890fa24a0945a7a9d1e806cc6e91cf2c65d00ff
parent5ae9ddd480f97ba16b9b9d11d333e1252b820166
libstdc++: Improve comments in std::string tests

The COW std::string does support some features of C++11 allocators, just
not propagation. Change some comments in the tests to be more precise
about that.

libstdc++-v3/ChangeLog:

* testsuite/21_strings/basic_string/allocator/char/copy.cc: Make
comment more precise about what isn't supported by COW strings.
* testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/char/move.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/char/move_assign.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/char/noexcept.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/char/operator_plus.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/char/swap.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/wchar_t/move.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/wchar_t/operator_plus.cc:
Likewise.
* testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc:
Likewise.
14 files changed:
libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/copy_assign.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/move_assign.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/noexcept.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/operator_plus.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/char/swap.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/operator_plus.cc
libstdc++-v3/testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc