diff options
author | Marcin Siodelski <marcin@isc.org> | 2014-08-18 18:43:51 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2014-08-18 18:43:51 +0200 |
commit | 5763fe88d7b161f70d2b5f48237c8494f62cc5a0 (patch) | |
tree | bae0cb17d1a12f7c7a54aa23f0552e27a759b987 /src/bin/d2/tests/d2_cfg_mgr_unittests.cc | |
parent | [3477] Documentation changes in the configuration.h (diff) | |
download | kea-5763fe88d7b161f70d2b5f48237c8494f62cc5a0.tar.xz kea-5763fe88d7b161f70d2b5f48237c8494f62cc5a0.zip |
[3477] Report configuration summary when configuration is complete.
This change affects DHCP servers and D2.
Diffstat (limited to 'src/bin/d2/tests/d2_cfg_mgr_unittests.cc')
-rw-r--r-- | src/bin/d2/tests/d2_cfg_mgr_unittests.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/d2/tests/d2_cfg_mgr_unittests.cc b/src/bin/d2/tests/d2_cfg_mgr_unittests.cc index ec1c666cc5..3abdbd6cec 100644 --- a/src/bin/d2/tests/d2_cfg_mgr_unittests.cc +++ b/src/bin/d2/tests/d2_cfg_mgr_unittests.cc @@ -376,6 +376,10 @@ TEST_F(D2CfgMgrTest, validParamsEntry) { // Verify that the global scalars have the proper values. EXPECT_EQ(isc::asiolink::IOAddress("3001::5"), d2_params_->getIpAddress()); + + // Verify the configuration summary. + EXPECT_EQ("listening on 3001::5, port 777", + d2_params_->getConfigSummary()); } /// @brief Tests default values for D2Params. |