[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:22:00 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=71516ae

The following commit has been merged in the master branch:
commit 71516ae324b0855f8ef385129bbfb0e211c25bf6
Author: Lasath Fernando <kde at lasath.org>
Date:   Thu Jun 21 14:32:35 2012 +1000

    Fix test that caught annoying bug
    
    Don't worry, I've written it down (somewhere) so I won't forget
    the bug completely.
---
 tests/message-processor-basic-tests.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/tests/message-processor-basic-tests.cpp b/tests/message-processor-basic-tests.cpp
index 9baf9be..15da0b1 100644
--- a/tests/message-processor-basic-tests.cpp
+++ b/tests/message-processor-basic-tests.cpp
@@ -143,11 +143,10 @@ void MessageProcessorBasicTests::testStrikethrough()
 
 void MessageProcessorBasicTests::testImageEmbedGIF()
 {
-    compare(
-        "http://images3.wikia.nocookie.net/__cb20101111210206/central/images/f/fd/Rick_Astley_2.gif",
-        "<a href='http://images3.wikia.nocookie.net/__cb20101111210206/central/images/f/fd/Rick_Astley_2.gif'>http://images3.wikia.nocookie.net/__cb20101111210206/central/images/f/fd/Rick_Astley_2.gif</a>
"
-        "<img src='http://images3.wikia.nocookie.net/__cb20101111210206/central/images/f/fd/Rick_Astley_2.gif' alt='link is to an image' />"
-    );
+    const char* message = "http://kde.org/images/teaser/jointhegame.gif";
+    QString imgTag = QLatin1String("<img src='http://kde.org/images/teaser/jointhegame.gif' style='width:100%;' alt='Link is of an Image' />");
+
+    QVERIFY(s.getProcessedMessage(message).contains(imgTag));
 }
 
 QTEST_MAIN(MessageProcessorBasicTests);

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list