Commit 9a7b5d79 authored by Laurent Montel's avatar Laurent Montel 😁

improve unittest

parent 62683396
From: Sudhendu Kumar <dontspamme@yoohoo.com>
To: kde <foo@yoohoo.org>
Reply-To: bla@yoohoo.org
Cc: test@yoohoo.org
Subject: Plain Message Test
Date: Sun, 7 Aug 2011 11:30:27 +0530
MIME-Version: 1.0
......
......@@ -184,6 +184,11 @@ void TemplateParserTester::test_processWithTemplatesForContent_data()
QTest::newRow( file.toLatin1() ) << "%OFROMLNAME" << QString(dir.path() + QLatin1Char('/') + file) << "Kumar";
QTest::newRow( file.toLatin1() ) << "%OFROMNAME" << QString(dir.path() + QLatin1Char('/') + file) << "Sudhendu Kumar";
QTest::newRow( file.toLatin1() ) << "%OFROMADDR" << QString(dir.path() + QLatin1Char('/') + file) << "Sudhendu Kumar <dontspamme@yoohoo.com>";
QTest::newRow( file.toLatin1() ) << "%OTOADDR" << QString(dir.path() + QLatin1Char('/') + file) << "kde <foo@yoohoo.org>";
QTest::newRow( file.toLatin1() ) << "%OTOFNAME" << QString(dir.path() + QLatin1Char('/') + file) << "kde";
QTest::newRow( file.toLatin1() ) << "%OTONAME" << QString(dir.path() + QLatin1Char('/') + file) << "kde";
QTest::newRow( file.toLatin1() ) << "%OTOLNAME" << QString(dir.path() + QLatin1Char('/') + file) << "";
QTest::newRow( file.toLatin1() ) << "%OTOLIST" << QString(dir.path() + QLatin1Char('/') + file) << "kde <foo@yoohoo.org>";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment