aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/dbg_output/ut/dbg_output_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/dbg_output/ut/dbg_output_ut.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/dbg_output/ut/dbg_output_ut.cpp')
-rw-r--r--library/cpp/dbg_output/ut/dbg_output_ut.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/dbg_output/ut/dbg_output_ut.cpp b/library/cpp/dbg_output/ut/dbg_output_ut.cpp
index 7b285c84cb..7406a76bef 100644
--- a/library/cpp/dbg_output/ut/dbg_output_ut.cpp
+++ b/library/cpp/dbg_output/ut/dbg_output_ut.cpp
@@ -31,14 +31,14 @@ namespace TMyNS {
}
DEFINE_DUMPER(TMyNS::TMyStruct, A, B)
-Y_UNIT_TEST_SUITE(TContainerPrintersTest) {
- Y_UNIT_TEST(TestVectorInt) {
+Y_UNIT_TEST_SUITE(TContainerPrintersTest) {
+ Y_UNIT_TEST(TestVectorInt) {
TStringStream out;
out << DbgDump(TVector<int>({1, 2, 3, 4, 5}));
UNIT_ASSERT_STRINGS_EQUAL(out.Str(), "[1, 2, 3, 4, 5]");
}
- Y_UNIT_TEST(TestMapCharToCharArray) {
+ Y_UNIT_TEST(TestMapCharToCharArray) {
TStringStream out;
TMap<char, const char*> m;
@@ -51,7 +51,7 @@ Y_UNIT_TEST_SUITE(TContainerPrintersTest) {
UNIT_ASSERT_STRINGS_EQUAL(out.Str(), "{'a' -> \"SMALL LETTER A\", 'b' -> (empty)}");
}
- Y_UNIT_TEST(TestVectorOfVectors) {
+ Y_UNIT_TEST(TestVectorOfVectors) {
TStringStream out;
TVector<TVector<wchar16>> vec(2);
vec[0].push_back(0);
@@ -60,24 +60,24 @@ Y_UNIT_TEST_SUITE(TContainerPrintersTest) {
UNIT_ASSERT_STRINGS_EQUAL(out.Str(), "[[w'\\0'], [w'a']]");
}
- Y_UNIT_TEST(TestInfinite) {
+ Y_UNIT_TEST(TestInfinite) {
UNIT_ASSERT(!!(TStringBuilder() << DbgDumpDeep(TX())));
}
- Y_UNIT_TEST(TestLabeledDump) {
+ Y_UNIT_TEST(TestLabeledDump) {
TStringStream out;
int a = 1, b = 2;
out << LabeledDump(a, b, 1 + 2);
UNIT_ASSERT_STRINGS_EQUAL(out.Str(), "{\"a\": 1, \"b\": 2, \"1 + 2\": 3}");
}
- Y_UNIT_TEST(TestStructDumper) {
+ Y_UNIT_TEST(TestStructDumper) {
TStringStream out;
out << DbgDump(TMyNS::TMyStruct{3, 4});
UNIT_ASSERT_STRINGS_EQUAL(out.Str(), "{\"A\": 3, \"B\": 4}");
}
- Y_UNIT_TEST(TestColors) {
+ Y_UNIT_TEST(TestColors) {
using TComplex = TMap<TString, TMap<int, char>>;
TComplex test;
test["a"][1] = '7';
@@ -95,7 +95,7 @@ Y_UNIT_TEST_SUITE(TContainerPrintersTest) {
"\\x1B[1;31m'6'\\x1B[22;39m\\x1B[1;32m}\\x1B[22;39m\\x1B[22;39m\\x1B[49m\\x1B[1;32m}\\x1B[22;39m");
}
- Y_UNIT_TEST(SmallIntOrChar) {
+ Y_UNIT_TEST(SmallIntOrChar) {
char c = 'e';
i8 i = -100;
ui8 u = 10;