[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=ba42eab
The following commit has been merged in the master branch:
commit ba42eab6f592cbb54af0923358114b1def3359b8
Author: Lasath Fernando <kde at lasath.org>
Date: Sat Jun 16 15:20:09 2012 +1000
Add a test for ImageFilter
---
tests/message-processor-basic-tests.cpp | 9 +++++++++
tests/message-processor-basic-tests.h | 1 +
2 files changed, 10 insertions(+)
diff --git a/tests/message-processor-basic-tests.cpp b/tests/message-processor-basic-tests.cpp
index 9452505..9baf9be 100644
--- a/tests/message-processor-basic-tests.cpp
+++ b/tests/message-processor-basic-tests.cpp
@@ -141,6 +141,15 @@ void MessageProcessorBasicTests::testStrikethrough()
compare("-striek through-", "<s>striek through</s>");
}
+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' />"
+ );
+}
+
QTEST_MAIN(MessageProcessorBasicTests);
#include "moc_message-processor-basic-tests.cpp"
\ No newline at end of file
diff --git a/tests/message-processor-basic-tests.h b/tests/message-processor-basic-tests.h
index 12a85dd..2f5d2fe 100644
--- a/tests/message-processor-basic-tests.h
+++ b/tests/message-processor-basic-tests.h
@@ -46,6 +46,7 @@ private Q_SLOTS:
void testBoldItalics();
void testStrikethrough();
void testBold();
+ void testImageEmbedGIF();
};
#endif // MESSAGE_PROCESSOR_BASIC_TESTS_H
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list