[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [gwenview/KDE/4.8] tests/auto: Fix UrlUtilsTest::testFixUserEnteredUrl()
From: Aurélien Gâteau <agateau () kde ! org>
Date: 2012-01-31 22:26:11
Message-ID: 20120131222611.90D8AA60A6 () git ! kde ! org
[Download RAW message or body]
Git commit 067da1c47ab47e91edeb4f581a25ee1eb257d0f4 by Aurélien Gâteau.
Committed on 31/01/2012 at 23:25.
Pushed by gateau into branch 'KDE/4.8'.
Fix UrlUtilsTest::testFixUserEnteredUrl()
Do not test on relative urls: UrlUtils::fixUserEnteredUrl() is always
called with absolute urls.
M +0 -1 tests/auto/urlutilstest.cpp
http://commits.kde.org/gwenview/067da1c47ab47e91edeb4f581a25ee1eb257d0f4
diff --git a/tests/auto/urlutilstest.cpp b/tests/auto/urlutilstest.cpp
index 19eef14..c839cde 100644
--- a/tests/auto/urlutilstest.cpp
+++ b/tests/auto/urlutilstest.cpp
@@ -49,7 +49,6 @@ void UrlUtilsTest::testFixUserEnteredUrl_data()
QString pwd = QDir::currentPath();
NEW_ROW("http://example.com", "http://example.com");
- NEW_ROW("example.zip", "zip://" + pwd + "/example.zip");
NEW_ROW("file://" + pwd + "/example.zip", "zip://" + pwd + "/example.zip");
NEW_ROW("file://" + pwd + "/example.cbz", "zip://" + pwd + "/example.cbz");
NEW_ROW("file://" + pwd + "/example.jpg", "file://" + pwd + "/example.jpg");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic