Browse Source

[trac929] add a statistics category into "spec2.spec"
and modify message string to be compared with in EXPECT_EQ

Naoki Kambe 14 years ago
parent
commit
7d5c3d5674

File diff suppressed because it is too large
+ 2 - 2
src/lib/config/tests/ccsession_unittests.cc


+ 11 - 0
src/lib/config/tests/testdata/spec2.spec

@@ -66,6 +66,17 @@
         "command_description": "Shut down BIND 10",
         "command_args": []
       }
+    ],
+    "statistics": [
+      {
+        "item_name": "dummy_time",
+        "item_type": "string",
+        "item_optional": false,
+        "item_default": "1970-01-01T00:00:00Z",
+        "item_title": "Dummy Time",
+        "item_description": "A dummy date time",
+        "item_format": "date-time"
+      }
     ]
   }
 }