aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io/chunk_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/http/io/chunk_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/http/io/chunk_ut.cpp')
-rw-r--r--library/cpp/http/io/chunk_ut.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/io/chunk_ut.cpp b/library/cpp/http/io/chunk_ut.cpp
index da283f8568..44b2b9a66a 100644
--- a/library/cpp/http/io/chunk_ut.cpp
+++ b/library/cpp/http/io/chunk_ut.cpp
@@ -4,11 +4,11 @@
#include <util/stream/file.h>
#include <util/system/tempfile.h>
-#include <util/stream/null.h>
+#include <util/stream/null.h>
#define CDATA "./chunkedio"
-Y_UNIT_TEST_SUITE(TestChunkedIO) {
+Y_UNIT_TEST_SUITE(TestChunkedIO) {
static const char test_data[] = "87s6cfbsudg cuisg s igasidftasiy tfrcua6s";
TString CombString(const TString& s, size_t chunkSize) {
@@ -18,7 +18,7 @@ Y_UNIT_TEST_SUITE(TestChunkedIO) {
return result;
}
- void WriteTestData(IOutputStream * stream, TString * contents) {
+ void WriteTestData(IOutputStream * stream, TString * contents) {
contents->clear();
for (size_t i = 0; i < sizeof(test_data); ++i) {
stream->Write(test_data, i);
@@ -26,7 +26,7 @@ Y_UNIT_TEST_SUITE(TestChunkedIO) {
}
}
- void ReadInSmallChunks(IInputStream * stream, TString * contents) {
+ void ReadInSmallChunks(IInputStream * stream, TString * contents) {
char buf[11];
size_t read = 0;
@@ -37,8 +37,8 @@ Y_UNIT_TEST_SUITE(TestChunkedIO) {
} while (read > 0);
}
- void ReadCombed(IInputStream * stream, TString * contents, size_t chunkSize) {
- Y_ASSERT(chunkSize < 128);
+ void ReadCombed(IInputStream * stream, TString * contents, size_t chunkSize) {
+ Y_ASSERT(chunkSize < 128);
char buf[128];
contents->clear();
@@ -57,7 +57,7 @@ Y_UNIT_TEST_SUITE(TestChunkedIO) {
}
}
- Y_UNIT_TEST(TestChunkedIo) {
+ Y_UNIT_TEST(TestChunkedIo) {
TTempFile tmpFile(CDATA);
TString tmp;
@@ -88,7 +88,7 @@ Y_UNIT_TEST_SUITE(TestChunkedIO) {
}
}
- Y_UNIT_TEST(TestBadChunk) {
+ Y_UNIT_TEST(TestBadChunk) {
bool hasError = false;
try {