[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:28 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=329b278
The following commit has been merged in the master branch:
commit 329b2789c3f5f54a1d99af4ec3facdacbe91fd26
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Sun Aug 26 12:37:00 2012 +0100
Comment out tests for plugins which aren't being built
Reviewed-by: Martin Klapetek
---
tests/message-processor-basic-tests.cpp | 82 ++++++++++++++++-----------------
tests/message-processor-basic-tests.h | 16 +++----
2 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/tests/message-processor-basic-tests.cpp b/tests/message-processor-basic-tests.cpp
index 8546605..60f0010 100644
--- a/tests/message-processor-basic-tests.cpp
+++ b/tests/message-processor-basic-tests.cpp
@@ -107,39 +107,39 @@ void MessageProcessorBasicTests::compare(const char *input, const char *expected
QCOMPARE(processed, href);
}
-void MessageProcessorBasicTests::testSingleCharBold()
-{
- compare("*b*", "<b>b</b>");
-}
-
-void MessageProcessorBasicTests::testBold()
-{
- compare("*this* shoudl *be in bold*", "<b>this</b> shoudl <b>be in bold</b>");
-}
-
-void MessageProcessorBasicTests::testBoldItalics()
-{
- compare("_*this is bold italics*_", "<i><b>this is bold italics</b></i>");
- compare("_*this is bold italics_*", "<i><b>this is bold italics</i></b>");
-}
-
-void MessageProcessorBasicTests::testMultiWordItalics()
-{
- compare("_all _ this _hsould_ be in italics_", "<i>all _ this _hsould</i> be in italics_");
- compare("_f f_ fd _f f_", "<i>f f</i> fd <i>f f</i>");
- compare("_f _f_", "<i>f _f</i>");
- compare("_dsd _ _ ss_", "<i>dsd _ _ ss</i>");
-}
-
-void MessageProcessorBasicTests::testSingleWordItalics()
-{
- compare("_b_", "<i>b</i>");
-}
-
-void MessageProcessorBasicTests::testStrikethrough()
-{
- compare("-strike through-", "<s>strike through</s>");
-}
+// void MessageProcessorBasicTests::testSingleCharBold()
+// {
+// compare("*b*", "<b>b</b>");
+// }
+
+// void MessageProcessorBasicTests::testBold()
+// {
+// compare("*this* shoudl *be in bold*", "<b>this</b> shoudl <b>be in bold</b>");
+// }
+
+// void MessageProcessorBasicTests::testBoldItalics()
+// {
+// compare("_*this is bold italics*_", "<i><b>this is bold italics</b></i>");
+// compare("_*this is bold italics_*", "<i><b>this is bold italics</i></b>");
+// }
+
+// void MessageProcessorBasicTests::testMultiWordItalics()
+// {
+// compare("_all _ this _hsould_ be in italics_", "<i>all _ this _hsould</i> be in italics_");
+// compare("_f f_ fd _f f_", "<i>f f</i> fd <i>f f</i>");
+// compare("_f _f_", "<i>f _f</i>");
+// compare("_dsd _ _ ss_", "<i>dsd _ _ ss</i>");
+// }
+
+// void MessageProcessorBasicTests::testSingleWordItalics()
+// {
+// compare("_b_", "<i>b</i>");
+// }
+
+// void MessageProcessorBasicTests::testStrikethrough()
+// {
+// compare("-strike through-", "<s>strike through</s>");
+// }
void MessageProcessorBasicTests::testImageEmbedGIF()
{
@@ -162,21 +162,21 @@ void MessageProcessorBasicTests::testXSS()
compare("<script>alert('ha!');</script>", "<script>alert('ha!');</script>");
}
-void MessageProcessorBasicTests::testSearchExpansion()
-{
+// void MessageProcessorBasicTests::testSearchExpansion()
+// {
//let's assume the user hasn't messed with their web shortcuts
- compare("gg:kde", "http://www.google.com/search?q=kde&ie=UTF-8&oe=UTF-8");
-}
+// compare("gg:kde", "http://www.google.com/search?q=kde&ie=UTF-8&oe=UTF-8");
+// }
void MessageProcessorBasicTests::testUsingAColon()
{
compare("It should still leave normal stuff with:acolon alone", "It should still leave normal stuff with:acolon alone");
}
-void MessageProcessorBasicTests::testSearchExpansionWithPadding()
-{
- compare(" gg:kde
", "http://www.google.com/search?q=kde&ie=UTF-8&oe=UTF-8");
-}
+// void MessageProcessorBasicTests::testSearchExpansionWithPadding()
+// {
+// compare(" gg:kde
", "http://www.google.com/search?q=kde&ie=UTF-8&oe=UTF-8");
+// }
QTEST_MAIN(MessageProcessorBasicTests);
diff --git a/tests/message-processor-basic-tests.h b/tests/message-processor-basic-tests.h
index 7dc99e4..5ffcc92 100644
--- a/tests/message-processor-basic-tests.h
+++ b/tests/message-processor-basic-tests.h
@@ -40,17 +40,17 @@ private Q_SLOTS:
void testUnsupportedProtocolCatching();
void testMetadataGeneration();
void testMultipleURLCatching();
- void testSingleWordItalics();
- void testMultiWordItalics();
- void testSingleCharBold();
- void testBoldItalics();
- void testStrikethrough();
- void testBold();
+// void testSingleWordItalics();
+// void testMultiWordItalics();
+// void testSingleCharBold();
+// void testBoldItalics();
+// void testStrikethrough();
+// void testBold();
void testImageEmbedGIF();
void testXSS();
- void testSearchExpansion();
+// void testSearchExpansion();
void testUsingAColon();
- void testSearchExpansionWithPadding();
+// void testSearchExpansionWithPadding();
};
#endif // MESSAGE_PROCESSOR_BASIC_TESTS_H
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list