Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
438b5b18
Commit
438b5b18
authored
Apr 19, 2012
by
Michal 'vorner' Vaner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[1793] Fix variable name
We have camelCase in many places, but variable names are not one of those.
parent
52707b19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/bin/auth/tests/command_unittest.cc
src/bin/auth/tests/command_unittest.cc
+6
-6
No files found.
src/bin/auth/tests/command_unittest.cc
View file @
438b5b18
...
...
@@ -274,7 +274,7 @@ TEST_F(AuthCommandTest,
isc
::
testutils
::
MockSession
session
;
// The session should not take care of anything or start anything, we
// need it only to hold the config we're going to put into it.
ModuleCCSession
module
S
ession
(
SPEC_FILE
,
session
,
NULL
,
NULL
,
false
,
ModuleCCSession
module
_s
ession
(
SPEC_FILE
,
session
,
NULL
,
NULL
,
false
,
false
);
// This describes the data source in the configuration
const
ElementPtr
...
...
@@ -290,8 +290,8 @@ TEST_F(AuthCommandTest,
" ]"
" }"
"]}"
));
module
S
ession
.
setLocalConfig
(
map
);
server_
.
setConfigSession
(
&
module
S
ession
);
module
_s
ession
.
setLocalConfig
(
map
);
server_
.
setConfigSession
(
&
module
_s
ession
);
// The loadzone command needs the zone to be already loaded, because
// it is used for reloading only
...
...
@@ -324,7 +324,7 @@ TEST_F(AuthCommandTest,
findZone
(
Name
(
"example.org"
)).
zone_finder
->
find
(
Name
(
"example.org"
),
RRType
::
SOA
())
->
code
);
module
S
ession
.
setLocalConfig
(
Element
::
fromJSON
(
"{
\"
datasources
\"
: []}"
));
module
_s
ession
.
setLocalConfig
(
Element
::
fromJSON
(
"{
\"
datasources
\"
: []}"
));
result_
=
execAuthServerCommand
(
server_
,
"loadzone"
,
Element
::
fromJSON
(
"{
\"
origin
\"
:
\"
example.org
\"
}"
));
checkAnswer
(
1
);
...
...
@@ -348,7 +348,7 @@ TEST_F(AuthCommandTest,
" ]"
" }"
"]}"
));
module
S
ession
.
setLocalConfig
(
mapBad
);
module
_s
ession
.
setLocalConfig
(
mapBad
);
result_
=
execAuthServerCommand
(
server_
,
"loadzone"
,
Element
::
fromJSON
(
"{
\"
origin
\"
:
\"
example.com
\"
}"
));
checkAnswer
(
1
);
...
...
@@ -365,7 +365,7 @@ TEST_F(AuthCommandTest,
"
\"
zones
\"
: [[]]"
" }"
"]}"
));
module
S
ession
.
setLocalConfig
(
broken
);
module
_s
ession
.
setLocalConfig
(
broken
);
checkAnswer
(
1
);
// The previous zone is not hurt in any way
EXPECT_EQ
(
ZoneFinder
::
SUCCESS
,
server_
.
getInMemoryClient
(
RRClass
::
IN
())
->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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