Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
8dcab488
Commit
8dcab488
authored
Aug 20, 2013
by
Tomek Mrugalski
🛰
Browse files
[2983] Minor comments corrections in v6 hooks tests
parent
1f4b7360
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/tests/hooks_unittest.cc
View file @
8dcab488
...
...
@@ -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
pkt
6_receive callback.
// In particular, it should call registered
buffer
6_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
pkt
6_receive
d
is able to change
// Checks if callouts installed on
buffer
6_receive is able to change
// the values and the parameters are indeed used by the server.
TEST_F
(
HooksDhcpv6SrvTest
,
valueChange_buffer6_receive
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment