aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json
diff options
context:
space:
mode:
authorNikita Slyusarev <nslus@yandex-team.com>2022-02-10 16:46:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:52 +0300
commitcd77cecfc03a3eaf87816af28a33067c4f0cdb59 (patch)
tree1308e0bae862d52e0020d881fe758080437fe389 /library/cpp/json
parentcdae02d225fb5b3afbb28990e79a7ac6c9125327 (diff)
downloadydb-cd77cecfc03a3eaf87816af28a33067c4f0cdb59.tar.gz
Restoring authorship annotation for Nikita Slyusarev <nslus@yandex-team.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json')
-rw-r--r--library/cpp/json/fast_sax/ya.make8
-rw-r--r--library/cpp/json/flex_buffers/ya.make2
-rw-r--r--library/cpp/json/ut/json_reader_ut.cpp34
-rw-r--r--library/cpp/json/writer/ya.make10
-rw-r--r--library/cpp/json/ya.make8
-rw-r--r--library/cpp/json/yson/ut/ya.make2
6 files changed, 32 insertions, 32 deletions
diff --git a/library/cpp/json/fast_sax/ya.make b/library/cpp/json/fast_sax/ya.make
index c6447ab6ac..2419d1a935 100644
--- a/library/cpp/json/fast_sax/ya.make
+++ b/library/cpp/json/fast_sax/ya.make
@@ -1,9 +1,9 @@
LIBRARY()
-OWNER(
- pg
- velavokr
-)
+OWNER(
+ pg
+ velavokr
+)
PEERDIR(
library/cpp/json/common
diff --git a/library/cpp/json/flex_buffers/ya.make b/library/cpp/json/flex_buffers/ya.make
index 3ece5e3703..fa00f73ca9 100644
--- a/library/cpp/json/flex_buffers/ya.make
+++ b/library/cpp/json/flex_buffers/ya.make
@@ -2,7 +2,7 @@ LIBRARY()
OWNER(pg)
-ADDINCL(contrib/libs/flatbuffers/include)
+ADDINCL(contrib/libs/flatbuffers/include)
PEERDIR(
library/cpp/json
diff --git a/library/cpp/json/ut/json_reader_ut.cpp b/library/cpp/json/ut/json_reader_ut.cpp
index cd31afa0b8..932793d9b5 100644
--- a/library/cpp/json/ut/json_reader_ut.cpp
+++ b/library/cpp/json/ut/json_reader_ut.cpp
@@ -354,24 +354,24 @@ Y_UNIT_TEST_SUITE(TJsonReaderTest) {
UNIT_ASSERT_EQUAL(value["test"].GetDoubleRobust(), static_cast<double>(Max<ui64>()));
} // Max<ui64>()
} // TJsonDoubleTest
-
+
Y_UNIT_TEST(TJsonInvalidTest) {
- {
- // No exceptions mode.
- TStringStream in;
- in << "{ \"test\" : }";
- TJsonValue value;
- UNIT_ASSERT(!ReadJsonTree(&in, &value));
- }
-
- {
- // Exception throwing mode.
- TStringStream in;
- in << "{ \"test\" : }";
- TJsonValue value;
- UNIT_ASSERT_EXCEPTION(ReadJsonTree(&in, &value, true), TJsonException);
- }
- }
+ {
+ // No exceptions mode.
+ TStringStream in;
+ in << "{ \"test\" : }";
+ TJsonValue value;
+ UNIT_ASSERT(!ReadJsonTree(&in, &value));
+ }
+
+ {
+ // Exception throwing mode.
+ TStringStream in;
+ in << "{ \"test\" : }";
+ TJsonValue value;
+ UNIT_ASSERT_EXCEPTION(ReadJsonTree(&in, &value, true), TJsonException);
+ }
+ }
Y_UNIT_TEST(TJsonMemoryLeakTest) {
// after https://clubs.at.yandex-team.ru/stackoverflow/3691
diff --git a/library/cpp/json/writer/ya.make b/library/cpp/json/writer/ya.make
index 3989ff3504..47999a85c1 100644
--- a/library/cpp/json/writer/ya.make
+++ b/library/cpp/json/writer/ya.make
@@ -1,10 +1,10 @@
LIBRARY()
-OWNER(
- mvel
- myltsev
- pg
-)
+OWNER(
+ mvel
+ myltsev
+ pg
+)
PEERDIR(
library/cpp/json/common
diff --git a/library/cpp/json/ya.make b/library/cpp/json/ya.make
index d58eead8ec..7add7496b7 100644
--- a/library/cpp/json/ya.make
+++ b/library/cpp/json/ya.make
@@ -1,9 +1,9 @@
LIBRARY()
-OWNER(
- pg
- velavokr
-)
+OWNER(
+ pg
+ velavokr
+)
SRCS(
json_writer.cpp
diff --git a/library/cpp/json/yson/ut/ya.make b/library/cpp/json/yson/ut/ya.make
index 4ceb65b279..f372b26558 100644
--- a/library/cpp/json/yson/ut/ya.make
+++ b/library/cpp/json/yson/ut/ya.make
@@ -7,7 +7,7 @@ UNITTEST_FOR(library/cpp/json/yson)
ALLOCATOR(LF)
-DATA(sbr://363537653)
+DATA(sbr://363537653)
PEERDIR(
library/cpp/blockcodecs