Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Pim
Commits
ea16761a
Commit
ea16761a
authored
Jan 07, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more unittest
parent
7767c33c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
templateparser/tests/data/plain-message.mbox
templateparser/tests/data/plain-message.mbox
+1
-0
templateparser/tests/templateparsertest.cpp
templateparser/tests/templateparsertest.cpp
+2
-0
No files found.
templateparser/tests/data/plain-message.mbox
View file @
ea16761a
...
...
@@ -4,6 +4,7 @@ Reply-To: bla@yoohoo.org
Cc: test@yoohoo.org
Subject: Plain Message Test
Date: Sun, 7 Aug 2011 11:30:27 +0530
Message-ID: <20150@foo.kde.org>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-15"
...
...
templateparser/tests/templateparsertest.cpp
View file @
ea16761a
...
...
@@ -206,6 +206,8 @@ void TemplateParserTester::test_processWithTemplatesForContent_data()
QTest
::
newRow
(
file
.
toLatin1
()
)
<<
insertFileNameCommand
<<
fileName
<<
"test insert file!
\n
"
<<
false
;
insertFileNameCommand
=
QString
::
fromLatin1
(
"%PUT=
\"
%1
\"
"
).
arg
(
insertFileName
);
QTest
::
newRow
(
file
.
toLatin1
()
)
<<
insertFileNameCommand
<<
fileName
<<
"test insert file!
\n
"
<<
false
;
QTest
::
newRow
(
file
.
toLatin1
()
)
<<
"%MSGID"
<<
fileName
<<
"<20150@foo.kde.org>"
<<
false
;
}
void
TemplateParserTester
::
test_processWithTemplatesForContent
()
...
...
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