aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/packers/ut
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/packers/ut
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/packers/ut')
-rw-r--r--library/cpp/packers/ut/packers_ut.cpp4
-rw-r--r--library/cpp/packers/ut/proto_packer_ut.cpp10
-rw-r--r--library/cpp/packers/ut/region_packer_ut.cpp6
3 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/packers/ut/packers_ut.cpp b/library/cpp/packers/ut/packers_ut.cpp
index 18ce2150d1..9318782f80 100644
--- a/library/cpp/packers/ut/packers_ut.cpp
+++ b/library/cpp/packers/ut/packers_ut.cpp
@@ -1,6 +1,6 @@
#include <library/cpp/testing/unittest/registar.h>
-#include <util/stream/output.h>
+#include <util/stream/output.h>
#include <utility>
#include <util/charset/wide.h>
@@ -75,7 +75,7 @@ void TPackersTest::TestPackers() {
TestPacker<TString, NPackers::TPacker<TString>>(test, Y_ARRAY_SIZE(test));
- for (size_t i = 0; i != Y_ARRAY_SIZE(test); ++i) {
+ for (size_t i = 0; i != Y_ARRAY_SIZE(test); ++i) {
TestPacker<TUtf16String, NPackers::TPacker<TUtf16String>>(UTF8ToWide(test[i]));
}
}
diff --git a/library/cpp/packers/ut/proto_packer_ut.cpp b/library/cpp/packers/ut/proto_packer_ut.cpp
index e4151ba68c..a89d6a74a0 100644
--- a/library/cpp/packers/ut/proto_packer_ut.cpp
+++ b/library/cpp/packers/ut/proto_packer_ut.cpp
@@ -45,7 +45,7 @@ bool operator==(const TTestMessage& lhs, const TTestMessage& rhs) {
return true;
}
-Y_UNIT_TEST_SUITE(ProtoPackerTestSuite) {
+Y_UNIT_TEST_SUITE(ProtoPackerTestSuite) {
TProtoMessagePacker<TTestMessage> Packer;
TString Buffer;
@@ -61,20 +61,20 @@ Y_UNIT_TEST_SUITE(ProtoPackerTestSuite) {
UNIT_ASSERT_EQUAL(msg, checkMsg);
}
- Y_UNIT_TEST(TestPackUnpackOnlyRequired) {
+ Y_UNIT_TEST(TestPackUnpackOnlyRequired) {
TTestMessage msg;
FillRequiredFields(msg);
DoPackUnpackTest(msg);
}
- Y_UNIT_TEST(TestPackUnpackRequiredAndOptional) {
+ Y_UNIT_TEST(TestPackUnpackRequiredAndOptional) {
TTestMessage msg;
FillRequiredFields(msg);
FillOptionalFields(msg);
DoPackUnpackTest(msg);
}
- Y_UNIT_TEST(TestPackUnpackAll) {
+ Y_UNIT_TEST(TestPackUnpackAll) {
TTestMessage msg;
FillRequiredFields(msg);
FillOptionalFields(msg);
@@ -82,7 +82,7 @@ Y_UNIT_TEST_SUITE(ProtoPackerTestSuite) {
DoPackUnpackTest(msg);
}
- Y_UNIT_TEST(TestSkipLeaf) {
+ Y_UNIT_TEST(TestSkipLeaf) {
TTestMessage msgFirst;
FillRequiredFields(msgFirst);
TTestMessage msgSecond;
diff --git a/library/cpp/packers/ut/region_packer_ut.cpp b/library/cpp/packers/ut/region_packer_ut.cpp
index 0cb08ccf65..1d71d40941 100644
--- a/library/cpp/packers/ut/region_packer_ut.cpp
+++ b/library/cpp/packers/ut/region_packer_ut.cpp
@@ -9,7 +9,7 @@ void TestPacker() {
TRegionPacker<TValue> p;
using TValues = TArrayRef<TValue>;
- TValues valueRegion = TValues(values, Y_ARRAY_SIZE(values));
+ TValues valueRegion = TValues(values, Y_ARRAY_SIZE(values));
size_t sz = p.MeasureLeaf(valueRegion);
UNIT_ASSERT_VALUES_EQUAL(sz, 1 + sizeof(values));
@@ -23,8 +23,8 @@ void TestPacker() {
UNIT_ASSERT_EQUAL(0, memcmp(values, valueRegion.data(), sizeof(values)));
}
-Y_UNIT_TEST_SUITE(RegionPacker) {
- Y_UNIT_TEST(Test0) {
+Y_UNIT_TEST_SUITE(RegionPacker) {
+ Y_UNIT_TEST(Test0) {
TestPacker<char>();
TestPacker<signed char>();
TestPacker<unsigned char>();