diff options
author | Andrei Pavel <andrei.pavel@qualitance.com> | 2017-08-18 08:44:29 +0200 |
---|---|---|
committer | Andrei Pavel <andrei.pavel@qualitance.com> | 2017-08-18 08:44:29 +0200 |
commit | dc5303592424c8eccffcc012da7c745a089d4e7c (patch) | |
tree | d7ff961abc43556d0c9c164eec27a80770cd366f /src/bin | |
parent | Added --nonet back (diff) | |
download | kea-dc5303592424c8eccffcc012da7c745a089d4e7c.tar.xz kea-dc5303592424c8eccffcc012da7c745a089d4e7c.zip |
reverted some changes which are too pedantic
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/d2/tests/d2_update_message_unittests.cc | 8 | ||||
-rw-r--r-- | src/bin/d2/tests/dns_client_unittests.cc | 12 | ||||
-rw-r--r-- | src/bin/dhcp4/dhcp4to6_ipc.cc | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/d2/tests/d2_update_message_unittests.cc b/src/bin/d2/tests/d2_update_message_unittests.cc index c43ac94426..6e6fa5d949 100644 --- a/src/bin/d2/tests/d2_update_message_unittests.cc +++ b/src/bin/d2/tests/d2_update_message_unittests.cc @@ -25,20 +25,20 @@ using namespace isc::dns::rdata; using namespace isc::util; namespace { - /// @brief Test fixture class for testing D2UpdateMessage object. + /// @brief Test fixture class for testing D2UpdateMessage object class D2UpdateMessageTest : public ::testing::Test { public: - /// @brief Constructor. + /// @brief Constructor // // Does nothing. D2UpdateMessageTest() { } - /// @brief Destructor. + /// @brief Destructor // // Does nothing. ~D2UpdateMessageTest() { }; - /// @brief Return string representation of the name encoded in wire format. + /// @brief Returns string representation of the name encoded in wire format. // // This function reads the number of bytes specified in the second // argument from the buffer. It doesn't check if buffer has sufficient diff --git a/src/bin/d2/tests/dns_client_unittests.cc b/src/bin/d2/tests/dns_client_unittests.cc index 91c3e8eff0..74ddecc2df 100644 --- a/src/bin/d2/tests/dns_client_unittests.cc +++ b/src/bin/d2/tests/dns_client_unittests.cc @@ -36,7 +36,7 @@ const char* TEST_ADDRESS = "127.0.0.1"; const uint16_t TEST_PORT = 5301; const size_t MAX_SIZE = 1024; const long TEST_TIMEOUT = 5 * 1000; -/// @brief Test Fixture class. +/// @brief Test Fixture class // // This test fixture class implements DNSClient::Callback so as it can be // installed as a completion callback for tests it implements. This callback @@ -63,7 +63,7 @@ public: int received_; int expected_; - /// @brief Constructor. + /// @brief Constructor // // This constructor overrides the default logging level of asiodns logger to // prevent it from emitting debug messages from IOFetch class. Such an error @@ -87,14 +87,14 @@ public: TEST_TIMEOUT); } - /// @brief Destructor. + /// @brief Destructor // // Sets the asiodns logging level back to DEBUG. virtual ~DNSClientTest() { asiodns::logger.setSeverity(isc::log::DEBUG); }; - /// @brief Exchange completion callback. + /// @brief Exchange completion callback // // This callback is called when the exchange with the DNS server is // complete or an error occurred. This includes the occurrence of a timeout. @@ -132,7 +132,7 @@ public: } } - /// @brief Handler invoked when test timeout is hit. + /// @brief Handler invoked when test timeout is hit // // This callback stops all running (hanging) tasks on IO service. void testTimeoutHandler() { @@ -140,7 +140,7 @@ public: FAIL() << "Test timeout hit."; } - /// @brief Handler invoked when test request is received. + /// @brief Handler invoked when test request is received // // This callback handler is installed when performing async read on a // socket to emulate reception of the DNS Update request by a server. diff --git a/src/bin/dhcp4/dhcp4to6_ipc.cc b/src/bin/dhcp4/dhcp4to6_ipc.cc index 39188c2012..1db3cb5e5d 100644 --- a/src/bin/dhcp4/dhcp4to6_ipc.cc +++ b/src/bin/dhcp4/dhcp4to6_ipc.cc @@ -89,7 +89,7 @@ void Dhcp4to6Ipc::handler() { return; } - // Get the DHCPv4 message + // Get the DHCPv4 message. OptionPtr msg = msgs.begin()->second; if (!msg) { LOG_DEBUG(packet4_logger, DBG_DHCP4_DETAIL, DHCP4_DHCP4O6_BAD_PACKET) |