aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/binsaver/ut/binsaver_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/binsaver/ut/binsaver_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/binsaver/ut/binsaver_ut.cpp')
-rw-r--r--library/cpp/binsaver/ut/binsaver_ut.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/binsaver/ut/binsaver_ut.cpp b/library/cpp/binsaver/ut/binsaver_ut.cpp
index 37eba5406f..f8275d63d0 100644
--- a/library/cpp/binsaver/ut/binsaver_ut.cpp
+++ b/library/cpp/binsaver/ut/binsaver_ut.cpp
@@ -67,8 +67,8 @@ static bool operator==(const TBlob& l, const TBlob& r) {
return TStringBuf(l.AsCharPtr(), l.Size()) == TStringBuf(r.AsCharPtr(), r.Size());
}
-Y_UNIT_TEST_SUITE(BinSaver){
- Y_UNIT_TEST(HasTrivialSerializer){
+Y_UNIT_TEST_SUITE(BinSaver){
+ Y_UNIT_TEST(HasTrivialSerializer){
UNIT_ASSERT(!IBinSaver::HasNonTrivialSerializer<TBinarySerializable>(0u));
UNIT_ASSERT(!IBinSaver::HasNonTrivialSerializer<TNonBinarySerializable>(0u));
UNIT_ASSERT(IBinSaver::HasNonTrivialSerializer<TCustomSerializer>(0u));
@@ -79,33 +79,33 @@ UNIT_ASSERT(IBinSaver::HasNonTrivialSerializer<TVector<TCustomSerializer>>(0u));
}
-Y_UNIT_TEST(TestStroka) {
+Y_UNIT_TEST(TestStroka) {
TestBinSaverSerialization(TString("QWERTY"));
}
-Y_UNIT_TEST(TestMoveOnlyType) {
+Y_UNIT_TEST(TestMoveOnlyType) {
TestBinSaverSerializationToBuffer(TMoveOnlyType());
}
-Y_UNIT_TEST(TestVectorStrok) {
+Y_UNIT_TEST(TestVectorStrok) {
TestBinSaverSerialization(TVector<TString>{"A", "B", "C"});
}
-Y_UNIT_TEST(TestCArray) {
+Y_UNIT_TEST(TestCArray) {
TestBinSaverSerialization(TTypeWithArray());
}
-Y_UNIT_TEST(TestSets) {
+Y_UNIT_TEST(TestSets) {
TestBinSaverSerialization(THashSet<TString>{"A", "B", "C"});
TestBinSaverSerialization(TSet<TString>{"A", "B", "C"});
}
-Y_UNIT_TEST(TestMaps) {
+Y_UNIT_TEST(TestMaps) {
TestBinSaverSerialization(THashMap<TString, ui32>{{"A", 1}, {"B", 2}, {"C", 3}});
TestBinSaverSerialization(TMap<TString, ui32>{{"A", 1}, {"B", 2}, {"C", 3}});
}
-Y_UNIT_TEST(TestBlob) {
+Y_UNIT_TEST(TestBlob) {
TestBinSaverSerialization(TBlob::FromStringSingleThreaded("qwerty"));
}
@@ -125,7 +125,7 @@ Y_UNIT_TEST(TestVariant) {
}
}
-Y_UNIT_TEST(TestPod) {
+Y_UNIT_TEST(TestPod) {
struct TPod {
ui32 A = 5;
ui64 B = 7;
@@ -141,7 +141,7 @@ Y_UNIT_TEST(TestPod) {
TestBinSaverSerialization(TVector<TPod>{custom});
}
-Y_UNIT_TEST(TestSubPod) {
+Y_UNIT_TEST(TestSubPod) {
struct TPod {
struct TSub {
ui32 X = 10;
@@ -166,7 +166,7 @@ Y_UNIT_TEST(TestSubPod) {
TestBinSaverSerialization(TVector<TPod>{custom});
}
-Y_UNIT_TEST(TestMemberAndOpIsMain) {
+Y_UNIT_TEST(TestMemberAndOpIsMain) {
struct TBase {
TString S;
virtual int operator&(IBinSaver& f) {