From: Tomek Mrugalski Date: Tue, 20 Aug 2013 16:42:25 +0000 (+0200) Subject: [2983] Minor comments corrections in v6 hooks tests X-Git-Tag: bind10-1.2.0beta1-release~246^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8dcab488bb0d93ec9b97075abecf679db04907ae;p=thirdparty%2Fkea.git [2983] Minor comments corrections in v6 hooks tests --- diff --git a/src/bin/dhcp6/tests/hooks_unittest.cc b/src/bin/dhcp6/tests/hooks_unittest.cc index 717de084dc..b12374c2a6 100644 --- a/src/bin/dhcp6/tests/hooks_unittest.cc +++ b/src/bin/dhcp6/tests/hooks_unittest.cc @@ -285,10 +285,6 @@ public: /// @return always 0 static int buffer6_receive_skip(CalloutHandle& callout_handle) { - - Pkt6Ptr pkt; - callout_handle.getArgument("query6", pkt); - callout_handle.setSkip(true); // Carry on as usual @@ -561,7 +557,7 @@ TEST_F(HooksDhcpv6SrvTest, simple_buffer6_receive) { // Server will now process to run its normal loop, but instead of calling // IfaceMgr::receive6(), it will read all packets from the list set by // fakeReceive() - // In particular, it should call registered pkt6_receive callback. + // In particular, it should call registered buffer6_receive callback. srv_->run(); // Check that the callback called is indeed the one we installed @@ -577,7 +573,7 @@ TEST_F(HooksDhcpv6SrvTest, simple_buffer6_receive) { EXPECT_TRUE(expected_argument_names == callback_argument_names_); } -// Checks if callouts installed on pkt6_received is able to change +// Checks if callouts installed on buffer6_receive is able to change // the values and the parameters are indeed used by the server. TEST_F(HooksDhcpv6SrvTest, valueChange_buffer6_receive) {