]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2211] style fixes to test JSON configs
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 23 Oct 2012 16:30:48 +0000 (09:30 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 23 Oct 2012 16:30:48 +0000 (09:30 -0700)
src/bin/auth/tests/datasrc_clients_mgr_unittest.cc

index a5d4928c92cdd322243249f8f38722cb97abe8fd..7d1eb4d4d80a92e44dde9f3a274d882629f63110 100644 (file)
@@ -118,8 +118,8 @@ TEST(DataSrcClientsMgrTest, reconfigure) {
 
     // A valid reconfigure argument
     ConstElementPtr reconfigure_arg = Element::fromJSON(
-        "{" "\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
-        "              \"cache-enable\": true}]}");
+        "{""\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
+        "             \"cache-enable\": true}]}");
 
     // On reconfigure(), it just send the RECONFIGURE command to the builder
     // thread with the given argument intact.
@@ -165,10 +165,10 @@ TEST(DataSrcClientsMgrTest, holder) {
 
     // Put something in, that should become visible.
     ConstElementPtr reconfigure_arg = Element::fromJSON(
-        "{" "\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
-        "              \"cache-enable\": true}],"
-        "\"CH\": [{\"type\": \"MasterFiles\", \"params\": {},"
-        "              \"cache-enable\": true}]}");
+        "{\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
+        "           \"cache-enable\": true}],"
+        " \"CH\": [{\"type\": \"MasterFiles\", \"params\": {},"
+        "           \"cache-enable\": true}]}");
     mgr.reconfigure(reconfigure_arg);
     {
         TestDataSrcClientsMgr::Holder holder(mgr);
@@ -181,8 +181,8 @@ TEST(DataSrcClientsMgrTest, holder) {
     // Replace the lists with new lists containing only one list.
     // The CH will disappear again.
     reconfigure_arg = Element::fromJSON(
-        "{" "\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
-        "              \"cache-enable\": true}]}");
+        "{\"IN\": [{\"type\": \"MasterFiles\", \"params\": {},"
+        "           \"cache-enable\": true}]}");
     mgr.reconfigure(reconfigure_arg);
     {
         TestDataSrcClientsMgr::Holder holder(mgr);