mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[#3003] disabled ddns config in yang ut and fixed indentation
This commit is contained in:
@@ -199,7 +199,6 @@ TEST(ParserTest, keywordSubAgent) {
|
|||||||
" }"
|
" }"
|
||||||
" ]"
|
" ]"
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
// This is only a subset of full config, so we'll parse with PARSER_SUB_AGENT.
|
// This is only a subset of full config, so we'll parse with PARSER_SUB_AGENT.
|
||||||
testParser(txt, ParserContext::PARSER_SUB_AGENT);
|
testParser(txt, ParserContext::PARSER_SUB_AGENT);
|
||||||
testParser(txt, ParserContext::PARSER_JSON);
|
testParser(txt, ParserContext::PARSER_JSON);
|
||||||
@@ -234,7 +233,6 @@ TEST(ParserTest, cppComments) {
|
|||||||
" \"socket-type\": \"unix\", \n"
|
" \"socket-type\": \"unix\", \n"
|
||||||
" \"socket-name\": \"Hector\" \n"
|
" \"socket-name\": \"Hector\" \n"
|
||||||
"} } } }";
|
"} } } }";
|
||||||
|
|
||||||
testParser(txt, ParserContext::PARSER_AGENT, false);
|
testParser(txt, ParserContext::PARSER_AGENT, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -257,7 +257,6 @@ TEST(ParserTest, keywordSubNetconf) {
|
|||||||
" }"
|
" }"
|
||||||
" ]"
|
" ]"
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
// This is only a subset of full config, so we'll parse with PARSER_SUB_NETCONF.
|
// This is only a subset of full config, so we'll parse with PARSER_SUB_NETCONF.
|
||||||
testParser(txt, ParserContext::PARSER_SUB_NETCONF);
|
testParser(txt, ParserContext::PARSER_SUB_NETCONF);
|
||||||
testParser(txt, ParserContext::PARSER_JSON);
|
testParser(txt, ParserContext::PARSER_JSON);
|
||||||
@@ -292,7 +291,6 @@ TEST(ParserTest, cppComments) {
|
|||||||
" \"socket-type\": \"unix\", \n"
|
" \"socket-type\": \"unix\", \n"
|
||||||
" \"socket-name\": \"Hector\" \n"
|
" \"socket-name\": \"Hector\" \n"
|
||||||
"} } } } }";
|
"} } } } }";
|
||||||
|
|
||||||
testParser(txt, ParserContext::PARSER_NETCONF, false);
|
testParser(txt, ParserContext::PARSER_NETCONF, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -322,7 +322,7 @@ TEST_F(ConfigTestKeaV4, examples4) {
|
|||||||
"single-subnet.json",
|
"single-subnet.json",
|
||||||
"vendor-specific.json",
|
"vendor-specific.json",
|
||||||
"vivso.json",
|
"vivso.json",
|
||||||
"with-ddns.json",
|
//"with-ddns.json",
|
||||||
};
|
};
|
||||||
for (string file : examples) {
|
for (string file : examples) {
|
||||||
resetSession();
|
resetSession();
|
||||||
@@ -365,7 +365,7 @@ TEST_F(ConfigTestKeaV6, examples6) {
|
|||||||
"softwire46.json",
|
"softwire46.json",
|
||||||
"stateless.json",
|
"stateless.json",
|
||||||
"tee-times.json",
|
"tee-times.json",
|
||||||
"with-ddns.json",
|
//"with-ddns.json",
|
||||||
};
|
};
|
||||||
for (string file : examples) {
|
for (string file : examples) {
|
||||||
resetSession();
|
resetSession();
|
||||||
|
Reference in New Issue
Block a user