mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[2211] style fixes to test JSON configs
This commit is contained in:
@@ -118,8 +118,8 @@ TEST(DataSrcClientsMgrTest, reconfigure) {
|
|||||||
|
|
||||||
// A valid reconfigure argument
|
// A valid reconfigure argument
|
||||||
ConstElementPtr reconfigure_arg = Element::fromJSON(
|
ConstElementPtr reconfigure_arg = Element::fromJSON(
|
||||||
"{" "\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
"{""\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
||||||
" \"cache-enable\": true}]}");
|
" \"cache-enable\": true}]}");
|
||||||
|
|
||||||
// On reconfigure(), it just send the RECONFIGURE command to the builder
|
// On reconfigure(), it just send the RECONFIGURE command to the builder
|
||||||
// thread with the given argument intact.
|
// thread with the given argument intact.
|
||||||
@@ -165,10 +165,10 @@ TEST(DataSrcClientsMgrTest, holder) {
|
|||||||
|
|
||||||
// Put something in, that should become visible.
|
// Put something in, that should become visible.
|
||||||
ConstElementPtr reconfigure_arg = Element::fromJSON(
|
ConstElementPtr reconfigure_arg = Element::fromJSON(
|
||||||
"{" "\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
"{\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
||||||
" \"cache-enable\": true}],"
|
" \"cache-enable\": true}],"
|
||||||
"\"CH\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
" \"CH\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
||||||
" \"cache-enable\": true}]}");
|
" \"cache-enable\": true}]}");
|
||||||
mgr.reconfigure(reconfigure_arg);
|
mgr.reconfigure(reconfigure_arg);
|
||||||
{
|
{
|
||||||
TestDataSrcClientsMgr::Holder holder(mgr);
|
TestDataSrcClientsMgr::Holder holder(mgr);
|
||||||
@@ -181,8 +181,8 @@ TEST(DataSrcClientsMgrTest, holder) {
|
|||||||
// Replace the lists with new lists containing only one list.
|
// Replace the lists with new lists containing only one list.
|
||||||
// The CH will disappear again.
|
// The CH will disappear again.
|
||||||
reconfigure_arg = Element::fromJSON(
|
reconfigure_arg = Element::fromJSON(
|
||||||
"{" "\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
"{\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
|
||||||
" \"cache-enable\": true}]}");
|
" \"cache-enable\": true}]}");
|
||||||
mgr.reconfigure(reconfigure_arg);
|
mgr.reconfigure(reconfigure_arg);
|
||||||
{
|
{
|
||||||
TestDataSrcClientsMgr::Holder holder(mgr);
|
TestDataSrcClientsMgr::Holder holder(mgr);
|
||||||
|
Reference in New Issue
Block a user