Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KContacts
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Frameworks
KContacts
Commits
61d03c1c
Commit
61d03c1c
authored
Jul 27, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix autotest
parent
f83621f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
autotests/langtest.cpp
autotests/langtest.cpp
+2
-1
No files found.
autotests/langtest.cpp
View file @
61d03c1c
...
...
@@ -110,7 +110,7 @@ void LangTest::shouldParseLanguage()
"VERSION:3.0
\n
"
"N:LastName;FirstName;;;
\n
"
"UID:c80cf296-0825-4eb0-ab16-1fac1d522a33@xxxxxx.xx
\n
"
"LANG:fr"
"LANG:fr
\n
"
"REV:2015-03-14T09:24:45+00:00
\n
"
"FN:FirstName LastName
\n
"
"END:VCARD
\n
"
);
...
...
@@ -119,6 +119,7 @@ void LangTest::shouldParseLanguage()
const
KContacts
::
AddresseeList
lst
=
vcard
.
parseVCards
(
vcarddata
);
QCOMPARE
(
lst
.
count
(),
1
);
QCOMPARE
(
lst
.
at
(
0
).
langs
().
count
(),
1
);
QCOMPARE
(
lst
.
at
(
0
).
langs
().
at
(
0
).
language
(),
QStringLiteral
(
"fr"
));
}
void
LangTest
::
shouldParseWithoutLanguage
()
...
...
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