mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: adjust tests to recent changes
23081b4d08
a8a54f0484
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
1ef7518fb0
commit
d41a40607a
2 changed files with 2 additions and 2 deletions
|
@ -952,7 +952,7 @@ void KMimeTypeTest::testHelperProtocols()
|
|||
QVERIFY2(KProtocolInfo::exec("mailto").contains(QLatin1String("kmail -caption ")), // comes from KMail2.desktop
|
||||
qPrintable(KProtocolInfo::exec("mailto")));
|
||||
} else {
|
||||
QCOMPARE(KProtocolInfo::exec("mailto"), QLatin1String("kmailservice %u"));
|
||||
QCOMPARE(KProtocolInfo::exec("mailto"), QLatin1String("kmailservice --icon '%i' --caption '%c' %u"));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ void KUrlMimeTest::testMostLocalUrlList()
|
|||
QCOMPARE(decodedURLs.toStringList().join(" "), urls.toStringList().join(" ") );
|
||||
|
||||
// KUrl can also be told to decode the "most local" urls
|
||||
decodedURLs = KUrl::List::fromMimeData(mimeData, KUrl::List::PreferLocalUrls);
|
||||
decodedURLs = KUrl::List::fromMimeData(mimeData, 0, KUrl::List::PreferLocalUrls);
|
||||
QVERIFY(!decodedURLs.isEmpty());
|
||||
QCOMPARE(decodedURLs.toStringList().join(" "), localUrls.toStringList().join(" ") );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue