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
ISC Open Source Projects
Kea
Commits
da724029
Commit
da724029
authored
Feb 14, 2012
by
Michal 'vorner' Vaner
Browse files
[1596] Initialize in constructor
parent
0a784884
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/tests/command_unittest.cc
View file @
da724029
...
...
@@ -56,6 +56,7 @@ protected:
AuthCommandTest
()
:
server_
(
false
,
xfrout_
),
rcode_
(
-
1
),
expect_rcode_
(
0
),
itimer_
(
server_
.
getIOService
())
{
server_
.
setStatisticsSession
(
&
statistics_session_
);
...
...
@@ -162,7 +163,6 @@ TEST_F(AuthCommandTest, shutdownIncorrectPID) {
// The PID = 0 should be taken by init, so we are not init and the
// PID should be different
param_
=
Element
::
fromJSON
(
"{
\"
pid
\"
: 0}"
);
expect_rcode_
=
0
;
itimer_
.
setup
(
boost
::
bind
(
&
AuthCommandTest
::
dontStopServer
,
this
),
1
);
server_
.
getIOService
().
run
();
EXPECT_EQ
(
0
,
rcode_
);
...
...
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