[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:21:58 UTC 2016


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

The following commit has been merged in the master branch:
commit 8029fc216d4c9f18b38c0846bd6a9c5b9153bcad
Author: Lasath Fernando <kde at lasath.org>
Date:   Fri May 4 09:53:57 2012 +1000

    Add stubs for tests for GTalk Formatting
    
    I'm out of time now, so I'll get around to actually sticking the
    data in later.
---
 tests/message-processor-basic-tests.cpp | 33 +++++++++++++++++++++++++++++++++
 tests/message-processor-basic-tests.h   |  5 +++++
 2 files changed, 38 insertions(+)

diff --git a/tests/message-processor-basic-tests.cpp b/tests/message-processor-basic-tests.cpp
index 4d15f10..172c4b5 100644
--- a/tests/message-processor-basic-tests.cpp
+++ b/tests/message-processor-basic-tests.cpp
@@ -89,6 +89,39 @@ void MessageProcessorBasicTests::testMultipleURLCatching()
     QFAIL("not written yet");
 }
 
+void MessageProcessorBasicTests::testBold()
+{
+    QString processed = this->s.getProcessedMessage("fakeprotocol://fakeuser@somefakehost/");
+    QString href = QLatin1String("fakeprotocol://fakeuser@somefakehost/");
+
+    QCOMPARE(processed, href);
+}
+
+void MessageProcessorBasicTests::testBold()
+{
+    QFAIL("not written yet");
+}
+
+void MessageProcessorBasicTests::testBoldItalics()
+{
+    QFAIL("not written yet");
+}
+
+void MessageProcessorBasicTests::testMultiWordItalics()
+{
+    QFAIL("not written yet");
+}
+
+void MessageProcessorBasicTests::testSingleWordItalics()
+{
+    QFAIL("not written yet");
+}
+
+void MessageProcessorBasicTests::testStrikethrough()
+{
+    QFAIL("not written yet");
+}
+
 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 d739599..32af844 100644
--- a/tests/message-processor-basic-tests.h
+++ b/tests/message-processor-basic-tests.h
@@ -39,6 +39,11 @@ private Q_SLOTS:
     void testUnsupportedProtocolCatching();
     void testMetadataGeneration();
     void testMultipleURLCatching();
+    void testSingleWordItalics();
+    void testMultiWordItalics();
+    void testBold();
+    void testBoldItalics();
+    void testStrikethrough();
 };
 
 #endif // MESSAGE_PROCESSOR_BASIC_TESTS_H

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list