summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-23 14:07:37 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-24 19:27:20 (GMT)
commit0a0a3046ad01ee4f3aa436485ae48cbff9d74272 (patch)
treee4b25e69815dfdb1a5139ab20be57a05879ffa76 /Swiften
parentfe89312ed0e8b6554f37c0bc2ac45095fcc74683 (diff)
downloadswift-contrib-0a0a3046ad01ee4f3aa436485ae48cbff9d74272.zip
swift-contrib-0a0a3046ad01ee4f3aa436485ae48cbff9d74272.tar.bz2
Added test suite registration checker.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Elements/UnitTest/StanzasTest.cpp9
-rw-r--r--Swiften/History/UnitTest/SQLiteHistoryManagerTest.cpp18
-rw-r--r--Swiften/Roster/UnitTest/OfflineRosterFilterTest.cpp6
-rw-r--r--Swiften/SASL/UnitTest/DIGESTMD5ClientAuthenticatorTest.cpp3
-rw-r--r--Swiften/SConscript2
5 files changed, 10 insertions, 28 deletions
diff --git a/Swiften/Elements/UnitTest/StanzasTest.cpp b/Swiften/Elements/UnitTest/StanzasTest.cpp
deleted file mode 100644
index b4cc74d..0000000
--- a/Swiften/Elements/UnitTest/StanzasTest.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) 2010 Remko Tronçon
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
-#include "Swiften/Elements/Message.h"
-#include "Swiften/Elements/IQ.h"
-#include "Swiften/Elements/Presence.h"
diff --git a/Swiften/History/UnitTest/SQLiteHistoryManagerTest.cpp b/Swiften/History/UnitTest/SQLiteHistoryManagerTest.cpp
index 223920e..0092e0f 100644
--- a/Swiften/History/UnitTest/SQLiteHistoryManagerTest.cpp
+++ b/Swiften/History/UnitTest/SQLiteHistoryManagerTest.cpp
@@ -14,15 +14,15 @@ using namespace Swift;
class SQLiteHistoryManagerTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(SQLiteHistoryManagerTest);
- CPPUNIT_TEST(testAddMessage);
- CPPUNIT_TEST(testAddMessage_TwoMessages);
- CPPUNIT_TEST(testGetIDForJID_SameJID);
- CPPUNIT_TEST(testGetIDForJID_DifferentJIDs);
- CPPUNIT_TEST(getJIDFromID);
- CPPUNIT_TEST(getJIDFromID_UnexistingID);
- CPPUNIT_TEST(getIDFromJID);
- CPPUNIT_TEST(getIDFromJID_UnexistingJID);
- CPPUNIT_TEST_SUITE_END();
+ //CPPUNIT_TEST(testAddMessage);
+ //CPPUNIT_TEST(testAddMessage_TwoMessages);
+ //CPPUNIT_TEST(testGetIDForJID_SameJID);
+ //CPPUNIT_TEST(testGetIDForJID_DifferentJIDs);
+ //CPPUNIT_TEST(getJIDFromID);
+ //CPPUNIT_TEST(getJIDFromID_UnexistingID);
+ //CPPUNIT_TEST(getIDFromJID);
+ //CPPUNIT_TEST(getIDFromJID_UnexistingJID);
+ //CPPUNIT_TEST_SUITE_END();
public:
SQLiteHistoryManagerTest() {}
diff --git a/Swiften/Roster/UnitTest/OfflineRosterFilterTest.cpp b/Swiften/Roster/UnitTest/OfflineRosterFilterTest.cpp
deleted file mode 100644
index 6c9a582..0000000
--- a/Swiften/Roster/UnitTest/OfflineRosterFilterTest.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
- * Copyright (c) 2010 Remko Tronçon
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
diff --git a/Swiften/SASL/UnitTest/DIGESTMD5ClientAuthenticatorTest.cpp b/Swiften/SASL/UnitTest/DIGESTMD5ClientAuthenticatorTest.cpp
index 8daea4f..72c2b64 100644
--- a/Swiften/SASL/UnitTest/DIGESTMD5ClientAuthenticatorTest.cpp
+++ b/Swiften/SASL/UnitTest/DIGESTMD5ClientAuthenticatorTest.cpp
@@ -17,8 +17,7 @@ class DIGESTMD5ClientAuthenticatorTest : public CppUnit::TestFixture {
CPPUNIT_TEST(testGetInitialResponse);
CPPUNIT_TEST(testGetResponse);
CPPUNIT_TEST(testGetResponse_WithAuthorizationID);
- /*CPPUNIT_TEST(testSetChallenge);
- CPPUNIT_TEST(testSetChallenge_InvalidBlabBla);*/
+ //CPPUNIT_TEST(testSetChallenge);
CPPUNIT_TEST_SUITE_END();
public:
diff --git a/Swiften/SConscript b/Swiften/SConscript
index 8474610..c325d03 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -196,7 +196,6 @@ if env["SCONS_STAGE"] == "build" :
File("Elements/UnitTest/IQTest.cpp"),
File("Elements/UnitTest/StanzaTest.cpp"),
File("Elements/UnitTest/FormTest.cpp"),
- File("Elements/UnitTest/StanzasTest.cpp"),
File("EventLoop/UnitTest/EventLoopTest.cpp"),
File("EventLoop/UnitTest/SimpleEventLoopTest.cpp"),
File("FileTransfer/UnitTest/SOCKS5BytestreamServerSessionTest.cpp"),
@@ -249,7 +248,6 @@ if env["SCONS_STAGE"] == "build" :
File("Queries/UnitTest/IQRouterTest.cpp"),
File("Queries/UnitTest/RequestTest.cpp"),
File("Queries/UnitTest/ResponderTest.cpp"),
- File("Roster/UnitTest/OfflineRosterFilterTest.cpp"),
File("Roster/UnitTest/RosterTest.cpp"),
File("Roster/UnitTest/XMPPRosterImplTest.cpp"),
File("Roster/UnitTest/XMPPRosterControllerTest.cpp"),