mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Made unit test suite names unique
This commit is contained in:
parent
6eb5b359ad
commit
f9da1cde9b
@ -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};
|
||||
|
||||
@ -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
@ -62,7 +62,7 @@ namespace
|
||||
// return os;
|
||||
//}
|
||||
|
||||
SUITE(test_string_char)
|
||||
SUITE(test_string_char32_t)
|
||||
{
|
||||
static const size_t SIZE = 11;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -1135,6 +1135,7 @@
|
||||
<AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user