diff options
author | yazevnul <yazevnul@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
commit | 8cbc307de0221f84c80c42dcbe07d40727537e2c (patch) | |
tree | 625d5a673015d1df891e051033e9fcde5c7be4e5 /util/stream/str_ut.cpp | |
parent | 30d1ef3941e0dc835be7609de5ebee66958f215a (diff) | |
download | ydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz |
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/str_ut.cpp')
-rw-r--r-- | util/stream/str_ut.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/util/stream/str_ut.cpp b/util/stream/str_ut.cpp index fc6b46c31a..930c5eac95 100644 --- a/util/stream/str_ut.cpp +++ b/util/stream/str_ut.cpp @@ -7,7 +7,7 @@ template <typename T> const T ReturnConstTemp(); Y_UNIT_TEST_SUITE(TStringInputOutputTest) { - Y_UNIT_TEST(Lvalue) { + Y_UNIT_TEST(Lvalue) { TString str = "Hello, World!"; TStringInput input(str); @@ -16,7 +16,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { UNIT_ASSERT_VALUES_EQUAL(result, str); } - Y_UNIT_TEST(ConstRef) { + Y_UNIT_TEST(ConstRef) { TString str = "Hello, World!"; const TString& r = str; TStringInput input(r); @@ -26,7 +26,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { UNIT_ASSERT_VALUES_EQUAL(result, str); } - Y_UNIT_TEST(NonConstRef) { + Y_UNIT_TEST(NonConstRef) { TString str = "Hello, World!"; TString& r = str; TStringInput input(r); @@ -36,7 +36,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { UNIT_ASSERT_VALUES_EQUAL(result, str); } - Y_UNIT_TEST(Transfer) { + Y_UNIT_TEST(Transfer) { TString inputString = "some_string"; TStringInput input(inputString); @@ -48,7 +48,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { UNIT_ASSERT_VALUES_EQUAL(inputString, outputString); } - Y_UNIT_TEST(SkipReadAll) { + Y_UNIT_TEST(SkipReadAll) { TString string0 = "All animals are equal, but some animals are more equal than others."; TString string1; @@ -68,7 +68,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { UNIT_ASSERT_VALUES_EQUAL(string2, string1.substr(5)); } - Y_UNIT_TEST(OperatorBool) { + Y_UNIT_TEST(OperatorBool) { TStringStream str; UNIT_ASSERT(!str); str << "data"; @@ -77,7 +77,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { UNIT_ASSERT(!str); } - Y_UNIT_TEST(TestReadTo) { + Y_UNIT_TEST(TestReadTo) { TString s("0123456789abc"); TString t; @@ -113,7 +113,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { UNIT_ASSERT_STRINGS_EQUAL(str1, str2); } - Y_UNIT_TEST(Write) { + Y_UNIT_TEST(Write) { TString str; TStringOutput output(str); output << "1" @@ -129,7 +129,7 @@ Y_UNIT_TEST_SUITE(TStringInputOutputTest) { "55555"); } - Y_UNIT_TEST(WriteChars) { + Y_UNIT_TEST(WriteChars) { TString str; TStringOutput output(str); output << '1' << '2' << '3' << '4' << '5' << '6' << '7' << '8' << '9' << '0'; |