Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
bea82c8e
Commit
bea82c8e
authored
13 years ago
by
Rafaël Carré
Browse files
Options
Downloads
Patches
Plain Diff
* #6560: fix configuration test
parent
80f00a9d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sflphone-common/test/configurationtest.cpp
+19
-1
19 additions, 1 deletion
sflphone-common/test/configurationtest.cpp
with
19 additions
and
1 deletion
sflphone-common/test/configurationtest.cpp
+
19
−
1
View file @
bea82c8e
...
...
@@ -254,7 +254,25 @@ void ConfigurationTest::testYamlEmitter()
zrtpmap
.
setKeyValue
(
notSuppWarningKey
,
&
notSuppWarning
);
accountmap
.
setKeyValue
(
credKey
,
&
credentialmap
);
credentialmap
.
setKeyValue
(
credentialCountKey
,
&
count
);
Conf
::
SequenceNode
credentialseq
(
NULL
);
accountmap
.
setKeyValue
(
credKey
,
&
credentialseq
);
Conf
::
MappingNode
credmap1
(
NULL
);
Conf
::
MappingNode
credmap2
(
NULL
);
Conf
::
ScalarNode
user1
(
"user"
);
Conf
::
ScalarNode
pass1
(
"pass"
);
Conf
::
ScalarNode
realm1
(
"*"
);
Conf
::
ScalarNode
user2
(
"john"
);
Conf
::
ScalarNode
pass2
(
"doe"
);
Conf
::
ScalarNode
realm2
(
"fbi"
);
credmap1
.
setKeyValue
(
USERNAME
,
&
user1
);
credmap1
.
setKeyValue
(
PASSWORD
,
&
pass1
);
credmap1
.
setKeyValue
(
REALM
,
&
realm1
);
credmap2
.
setKeyValue
(
USERNAME
,
&
user2
);
credmap2
.
setKeyValue
(
PASSWORD
,
&
pass2
);
credmap2
.
setKeyValue
(
REALM
,
&
realm2
);
credentialseq
.
addNode
(
&
credmap1
);
credentialseq
.
addNode
(
&
credmap2
);
accountmap
.
setKeyValue
(
tlsKey
,
&
tlsmap
);
tlsmap
.
setKeyValue
(
tlsPortKey
,
&
tlsport
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment