Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
a8dcc736
Commit
a8dcc736
authored
Oct 23, 2012
by
JINMEI Tatuya
Browse files
[2211] style fixes to test JSON configs
parent
bb59b815
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/tests/datasrc_clients_mgr_unittest.cc
View file @
a8dcc736
...
...
@@ -118,8 +118,8 @@ TEST(DataSrcClientsMgrTest, reconfigure) {
// A valid reconfigure argument
ConstElementPtr
reconfigure_arg
=
Element
::
fromJSON
(
"{"
"
\"
IN
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}]}"
);
"{""
\"
IN
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}]}"
);
// On reconfigure(), it just send the RECONFIGURE command to the builder
// thread with the given argument intact.
...
...
@@ -165,10 +165,10 @@ TEST(DataSrcClientsMgrTest, holder) {
// Put something in, that should become visible.
ConstElementPtr
reconfigure_arg
=
Element
::
fromJSON
(
"{
"
"
\"
IN
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}],"
"
\"
CH
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}]}"
);
"{
\"
IN
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}],"
"
\"
CH
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}]}"
);
mgr
.
reconfigure
(
reconfigure_arg
);
{
TestDataSrcClientsMgr
::
Holder
holder
(
mgr
);
...
...
@@ -181,8 +181,8 @@ TEST(DataSrcClientsMgrTest, holder) {
// Replace the lists with new lists containing only one list.
// The CH will disappear again.
reconfigure_arg
=
Element
::
fromJSON
(
"{
"
"
\"
IN
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}]}"
);
"{
\"
IN
\"
: [{
\"
type
\"
:
\"
MasterFiles
\"
,
\"
params
\"
: {},"
"
\"
cache-enable
\"
: true}]}"
);
mgr
.
reconfigure
(
reconfigure_arg
);
{
TestDataSrcClientsMgr
::
Holder
holder
(
mgr
);
...
...
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