aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/xml/document/xml-textreader_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/xml/document/xml-textreader_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/xml/document/xml-textreader_ut.cpp')
-rw-r--r--library/cpp/xml/document/xml-textreader_ut.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/xml/document/xml-textreader_ut.cpp b/library/cpp/xml/document/xml-textreader_ut.cpp
index 6232dfe47e..81e11e3348 100644
--- a/library/cpp/xml/document/xml-textreader_ut.cpp
+++ b/library/cpp/xml/document/xml-textreader_ut.cpp
@@ -29,8 +29,8 @@ namespace {
}
}
-Y_UNIT_TEST_SUITE(TestXmlTextReader) {
- Y_UNIT_TEST(BasicExample) {
+Y_UNIT_TEST_SUITE(TestXmlTextReader) {
+ Y_UNIT_TEST(BasicExample) {
const TString xml = "<?xml version=\"1.0\"?>\n"
"<example toto=\"1\">\n"
" <examplechild id=\"1\">\n"
@@ -134,7 +134,7 @@ Y_UNIT_TEST_SUITE(TestXmlTextReader) {
""
"</root>";
- Y_UNIT_TEST(ParseXmlSimple) {
+ Y_UNIT_TEST(ParseXmlSimple) {
struct TCountry {
TString Name;
TVector<TString> Cities;
@@ -150,7 +150,7 @@ Y_UNIT_TEST_SUITE(TestXmlTextReader) {
c.Name = node.FirstChild("name").Value<TString>();
const NXml::TConstNodes cityNodes = node.Nodes("cities/city");
- for (auto cityNode : cityNodes) {
+ for (auto cityNode : cityNodes) {
c.Cities.push_back(cityNode.Value<TString>());
}
};
@@ -179,7 +179,7 @@ Y_UNIT_TEST_SUITE(TestXmlTextReader) {
UNIT_ASSERT_EQUAL(ukraine.Cities[0], "Киев");
}
- Y_UNIT_TEST(ParseXmlDeepLevel) {
+ Y_UNIT_TEST(ParseXmlDeepLevel) {
TVector<TString> cities;
auto handler = [&cities](NXml::TConstNode node) {
@@ -195,7 +195,7 @@ Y_UNIT_TEST_SUITE(TestXmlTextReader) {
UNIT_ASSERT_EQUAL(cities[3], "Киев");
}
- Y_UNIT_TEST(ParseXmlException) {
+ Y_UNIT_TEST(ParseXmlException) {
// Check that exception properly passes through plain C code of libxml,
// no leaks are detected by valgrind.
auto handler = [](NXml::TConstNode node) {
@@ -251,7 +251,7 @@ Y_UNIT_TEST_SUITE(TestXmlTextReader) {
""
"</Companies>";
- Y_UNIT_TEST(NamespaceHell) {
+ Y_UNIT_TEST(NamespaceHell) {
using TNS = NXml::TNamespaceForXPath;
const NXml::TNamespacesForXPath ns = {
TNS{"b", "http://maps.yandex.ru/backa/1.x"},