From: Francis Dupont Date: Wed, 24 Oct 2018 14:09:24 +0000 (+0200) Subject: [65-libyang-config-translator] Small improvements X-Git-Tag: 65-libyang-finish-doc_base~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3303549e346d0b87d0fa00d0e7088ab97b287fe1;p=thirdparty%2Fkea.git [65-libyang-config-translator] Small improvements --- diff --git a/src/lib/yang/tests/adaptor_config_unittests.cc b/src/lib/yang/tests/adaptor_config_unittests.cc index a4d873f377..23092f8138 100644 --- a/src/lib/yang/tests/adaptor_config_unittests.cc +++ b/src/lib/yang/tests/adaptor_config_unittests.cc @@ -63,7 +63,8 @@ void testFile(const std::string& fname, bool v6, ElementPtr& result) { TEST_F(AdaptorConfigTest, loadExamples4) { - vector configs = { "advanced.json" , + vector configs = { "advanced.json", + "all-keys.json", "backends.json", "cassandra.json", "classify.json", @@ -92,6 +93,7 @@ TEST_F(AdaptorConfigTest, loadExamples4) { TEST_F(AdaptorConfigTest, loadExamples6) { vector configs = { "advanced.json", + "all-keys.json", "backends.json", "cassandra.json", "classify.json", diff --git a/src/lib/yang/tests/config_unittests.cc b/src/lib/yang/tests/config_unittests.cc index ed5a18236a..53fd007757 100644 --- a/src/lib/yang/tests/config_unittests.cc +++ b/src/lib/yang/tests/config_unittests.cc @@ -343,6 +343,7 @@ TEST_F(ConfigTest, examples4) { for (string file : examples) { resetSession(); string path = string(CFG_EXAMPLES) + "/kea4/" + file; + cout << "Testing file " << path << endl; ConstElementPtr json; ASSERT_NO_THROW(json = loadFile(path)); json = isc::test::moveComments(json); @@ -383,6 +384,7 @@ TEST_F(ConfigTest, examples6) { for (string file : examples) { resetSession(); string path = string(CFG_EXAMPLES) + "/kea6/" + file; + cout << "Testing file " << path << endl; ConstElementPtr json; ASSERT_NO_THROW(json = loadFile(path)); json = isc::test::moveComments(json); diff --git a/src/lib/yang/translator_config.h b/src/lib/yang/translator_config.h index b638d79f5d..d95efa978b 100644 --- a/src/lib/yang/translator_config.h +++ b/src/lib/yang/translator_config.h @@ -152,7 +152,7 @@ namespace yang { /// | +- pd ----+ | /// | | pool | | /// | | (list) | | -/// | | | | +/// | | | | /// +--------------------+- host --+ | /// | (liat) | | /// | | |