Made unit test suite names unique

This commit is contained in:
John Wellbelove 2023-08-09 08:57:50 +01:00
parent 6eb5b359ad
commit f9da1cde9b
7 changed files with 4731 additions and 4714 deletions

View File

@ -47,7 +47,7 @@ namespace
((result1 > 0) && (result2 > 0));
}
SUITE(test_string_char)
SUITE(test_string_char_external_buffer)
{
static constexpr size_t SIZE = 11UL;
static constexpr size_t SIZE_L = 52UL;
@ -1698,7 +1698,8 @@ namespace
for (size_t offset = 0UL; offset <= short_text.size(); ++offset)
{
Compare_Text compare_text(short_text.cbegin(), short_text.cend());
TextBuffer buffer{0};
TextBuffer buffer;
buffer.fill(0);
Text text(short_text.begin(), short_text.end(), buffer.data(), buffer.size());
TextBuffer buffer2{0};

View File

@ -62,7 +62,7 @@ namespace
// return os;
//}
SUITE(test_string_char)
SUITE(test_string_char16_t)
{
static const size_t SIZE = 11;

File diff suppressed because it is too large Load Diff

View File

@ -62,7 +62,7 @@ namespace
// return os;
//}
SUITE(test_string_char)
SUITE(test_string_char32_t)
{
static const size_t SIZE = 11;

View File

@ -63,7 +63,7 @@ namespace
// return os;
//}
SUITE(test_string_char)
SUITE(test_string_char32_t_external_buffer)
{
static constexpr size_t SIZE = 11;
static constexpr size_t SIZE_L = 52;
@ -1712,10 +1712,12 @@ namespace
for (size_t offset = 0UL; offset <= short_text.size(); ++offset)
{
Compare_Text compare_text(short_text.cbegin(), short_text.cend());
TextBuffer buffer{0};
TextBuffer buffer;
buffer.fill(0);
Text text(short_text.begin(), short_text.end(), buffer.data(), buffer.size());
TextBuffer buffer2{0};
TextBuffer buffer2;
buffer2.fill(0);
Text insert(insert_text.begin(), insert_text.end(), buffer2.data(), buffer2.size());
text.insert(offset, insert);

View File

@ -63,7 +63,7 @@ namespace
// return os;
//}
SUITE(test_string_char)
SUITE(test_string_wchar_t_external_buffer)
{
static constexpr size_t SIZE = 11;
static constexpr size_t SIZE_L = 52;

View File

@ -1135,6 +1135,7 @@
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<TreatWarningAsError>true</TreatWarningAsError>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SupportJustMyCode>false</SupportJustMyCode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>