Commit 01bdd8fb authored by Francis Dupont's avatar Francis Dupont

[65-libyang-pd-pool] [non-]empty applies to lists

parent b848a4b5
...@@ -67,7 +67,7 @@ TEST_F(TranslatorPdPoolsTest, getEmptyKea) { ...@@ -67,7 +67,7 @@ TEST_F(TranslatorPdPoolsTest, getEmptyKea) {
EXPECT_EQ(0, pools->size()); EXPECT_EQ(0, pools->size());
} }
// This test verifies that one non-empty pd pool can be properly // This test verifies that one pd pool can be properly
// translated from YANG to JSON using the IETF model. // translated from YANG to JSON using the IETF model.
TEST_F(TranslatorPdPoolsTest, getIetf) { TEST_F(TranslatorPdPoolsTest, getIetf) {
useModel(IETF_DHCPV6_SERVER); useModel(IETF_DHCPV6_SERVER);
...@@ -108,7 +108,7 @@ TEST_F(TranslatorPdPoolsTest, getIetf) { ...@@ -108,7 +108,7 @@ TEST_F(TranslatorPdPoolsTest, getIetf) {
EXPECT_TRUE(pool->equals(*pools->get(0))); EXPECT_TRUE(pool->equals(*pools->get(0)));
} }
// This test verifies that one non-empty pd pool can be properly // This test verifies that one pd pool can be properly
// translated from YANG to JSON using the Kea ad hoc model. // translated from YANG to JSON using the Kea ad hoc model.
TEST_F(TranslatorPdPoolsTest, getKea) { TEST_F(TranslatorPdPoolsTest, getKea) {
useModel(KEA_DHCP6_SERVER); useModel(KEA_DHCP6_SERVER);
...@@ -319,7 +319,7 @@ TEST_F(TranslatorPdPoolsTest, setKea) { ...@@ -319,7 +319,7 @@ TEST_F(TranslatorPdPoolsTest, setKea) {
EXPECT_NO_THROW(sess_->validate()); EXPECT_NO_THROW(sess_->validate());
} }
// This test verifies that a list of non-empty pd pools can be properly // This test verifies that a non-empty list of pd pools can be properly
// translated from YANG to JSON using the Kea ad hoc model. // translated from YANG to JSON using the Kea ad hoc model.
TEST_F(TranslatorPdPoolsTest, getListKea) { TEST_F(TranslatorPdPoolsTest, getListKea) {
useModel(KEA_DHCP6_SERVER); useModel(KEA_DHCP6_SERVER);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment