BIND 10 trac2544, updated. 393c70b7a308f5d816a87cf21e017351dbf09260 [2544] Added missing description of function.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Dec 18 11:26:46 UTC 2012
The branch, trac2544 has been updated
via 393c70b7a308f5d816a87cf21e017351dbf09260 (commit)
from c980c37cce2a445ec40f2c526cd89310cf7c4941 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 393c70b7a308f5d816a87cf21e017351dbf09260
Author: Marcin Siodelski <marcin at isc.org>
Date: Tue Dec 18 12:26:37 2012 +0100
[2544] Added missing description of function.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp4/tests/config_parser_unittest.cc | 10 ++++++++++
1 file changed, 10 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/tests/config_parser_unittest.cc b/src/bin/dhcp4/tests/config_parser_unittest.cc
index 0c56a71..2f6df58 100644
--- a/src/bin/dhcp4/tests/config_parser_unittest.cc
+++ b/src/bin/dhcp4/tests/config_parser_unittest.cc
@@ -88,6 +88,8 @@ public:
/// injected into the configuration string.
/// @param parameter name of the parameter to be configured with
/// param value.
+ /// @return configuration string containing custom values of parameters
+ /// describing an option.
std::string createConfigWithOption(const std::string& param_value,
const std::string& parameter) {
std::map<std::string, std::string> params;
@@ -107,6 +109,14 @@ public:
return (createConfigWithOption(params));
}
+ /// @brief Create simple configuration with single option.
+ ///
+ /// This function creates a configuration for a single option with
+ /// custom values for all parameters that describe the option.
+ ///
+ /// @params params map holding parameters and their values.
+ /// @return configuration string containing custom values of parameters
+ /// describing an option.
std::string createConfigWithOption(const std::map<std::string, std::string>& params) {
std::ostringstream stream;
stream << "{ \"interface\": [ \"all\" ],"
More information about the bind10-changes
mailing list