aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/buffer_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 /util/generic/buffer_ut.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/buffer_ut.cpp')
-rw-r--r--util/generic/buffer_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/generic/buffer_ut.cpp b/util/generic/buffer_ut.cpp
index 437d7122ec..3f1114018c 100644
--- a/util/generic/buffer_ut.cpp
+++ b/util/generic/buffer_ut.cpp
@@ -5,8 +5,8 @@
#include "vector.h"
#include "buffer.h"
-Y_UNIT_TEST_SUITE(TBufferTest) {
- Y_UNIT_TEST(TestEraseBack) {
+Y_UNIT_TEST_SUITE(TBufferTest) {
+ Y_UNIT_TEST(TestEraseBack) {
TBuffer buf;
buf.Append("1234567", 7);
@@ -17,7 +17,7 @@ Y_UNIT_TEST_SUITE(TBufferTest) {
UNIT_ASSERT_EQUAL(TString(buf.data(), buf.size()), "1234");
}
- Y_UNIT_TEST(TestAppend) {
+ Y_UNIT_TEST(TestAppend) {
const char data[] = "1234567890qwertyuiop";
TBuffer buf(13);
@@ -35,7 +35,7 @@ Y_UNIT_TEST_SUITE(TBufferTest) {
UNIT_ASSERT_EQUAL(TString(buf.data(), buf.size()), str);
}
- Y_UNIT_TEST(TestReset) {
+ Y_UNIT_TEST(TestReset) {
char content[] = "some text";
TBuffer buf;
@@ -50,7 +50,7 @@ Y_UNIT_TEST_SUITE(TBufferTest) {
UNIT_ASSERT_EQUAL(buf.Capacity(), 0);
}
- Y_UNIT_TEST(TestResize) {
+ Y_UNIT_TEST(TestResize) {
char content[] = "some text";
TBuffer buf;
@@ -68,7 +68,7 @@ Y_UNIT_TEST_SUITE(TBufferTest) {
UNIT_ASSERT_VALUES_EQUAL(TString(buf.data(), buf.size()), "some");
}
- Y_UNIT_TEST(TestReserve) {
+ Y_UNIT_TEST(TestReserve) {
TBuffer buf;
UNIT_ASSERT_EQUAL(buf.Capacity(), 0);
@@ -101,7 +101,7 @@ Y_UNIT_TEST_SUITE(TBufferTest) {
UNIT_ASSERT_EQUAL(buf.Capacity(), 2048);
}
- Y_UNIT_TEST(TestShrinkToFit) {
+ Y_UNIT_TEST(TestShrinkToFit) {
TBuffer buf;
TString content = "some text";
@@ -126,7 +126,7 @@ Y_UNIT_TEST_SUITE(TBufferTest) {
}
#if 0
-Y_UNIT_TEST(TestAlignUp) {
+Y_UNIT_TEST(TestAlignUp) {
char content[] = "some text";
TBuffer buf;
@@ -145,7 +145,7 @@ Y_UNIT_TEST(TestAlignUp) {
#endif
#if 0
-Y_UNIT_TEST(TestSpeed) {
+Y_UNIT_TEST(TestSpeed) {
const char data[] = "1234567890qwertyuiop";
const size_t c = 100000;
ui64 t1 = 0;
@@ -179,7 +179,7 @@ Y_UNIT_TEST(TestSpeed) {
}
#endif
- Y_UNIT_TEST(TestFillAndChop) {
+ Y_UNIT_TEST(TestFillAndChop) {
TBuffer buf;
buf.Append("Some ", 5);
buf.Fill('!', 5);