summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-21 18:36:11 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-21 18:36:11 (GMT)
commit739e16ab8fa21f22b8ddf827b0979e71bf613e78 (patch)
tree91bf9bad8e8ade3aa9484fc01dff0221addb4cbe /Swiften/Queries
parentc632dffabdd3387547bd07cd96754deab47703bc (diff)
downloadswift-739e16ab8fa21f22b8ddf827b0979e71bf613e78.zip
swift-739e16ab8fa21f22b8ddf827b0979e71bf613e78.tar.bz2
Code cleanup.
Diffstat (limited to 'Swiften/Queries')
-rw-r--r--Swiften/Queries/Requests/UnitTest/GetPrivateStorageRequestTest.cpp5
-rw-r--r--Swiften/Queries/UnitTest/IQRouterTest.cpp5
-rw-r--r--Swiften/Queries/UnitTest/RequestTest.cpp5
-rw-r--r--Swiften/Queries/UnitTest/ResponderTest.cpp5
4 files changed, 4 insertions, 16 deletions
diff --git a/Swiften/Queries/Requests/UnitTest/GetPrivateStorageRequestTest.cpp b/Swiften/Queries/Requests/UnitTest/GetPrivateStorageRequestTest.cpp
index 89cd7f1..71c6cf0 100644
--- a/Swiften/Queries/Requests/UnitTest/GetPrivateStorageRequestTest.cpp
+++ b/Swiften/Queries/Requests/UnitTest/GetPrivateStorageRequestTest.cpp
@@ -16,8 +16,7 @@
using namespace Swift;
-class GetPrivateStorageRequestTest : public CppUnit::TestFixture
-{
+class GetPrivateStorageRequestTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(GetPrivateStorageRequestTest);
CPPUNIT_TEST(testSend);
CPPUNIT_TEST(testHandleResponse);
@@ -32,8 +31,6 @@ class GetPrivateStorageRequestTest : public CppUnit::TestFixture
};
public:
- GetPrivateStorageRequestTest() {}
-
void setUp() {
channel = new DummyIQChannel();
router = new IQRouter(channel);
diff --git a/Swiften/Queries/UnitTest/IQRouterTest.cpp b/Swiften/Queries/UnitTest/IQRouterTest.cpp
index 864108c..ef5da23 100644
--- a/Swiften/Queries/UnitTest/IQRouterTest.cpp
+++ b/Swiften/Queries/UnitTest/IQRouterTest.cpp
@@ -15,8 +15,7 @@
using namespace Swift;
-class IQRouterTest : public CppUnit::TestFixture
-{
+class IQRouterTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(IQRouterTest);
CPPUNIT_TEST(testRemoveHandler);
CPPUNIT_TEST(testRemoveHandler_AfterHandleIQ);
@@ -30,8 +29,6 @@ class IQRouterTest : public CppUnit::TestFixture
CPPUNIT_TEST_SUITE_END();
public:
- IQRouterTest() {}
-
void setUp() {
channel_ = new DummyIQChannel();
}
diff --git a/Swiften/Queries/UnitTest/RequestTest.cpp b/Swiften/Queries/UnitTest/RequestTest.cpp
index 3d8d6f2..5013053 100644
--- a/Swiften/Queries/UnitTest/RequestTest.cpp
+++ b/Swiften/Queries/UnitTest/RequestTest.cpp
@@ -16,8 +16,7 @@
using namespace Swift;
-class RequestTest : public CppUnit::TestFixture
-{
+class RequestTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(RequestTest);
CPPUNIT_TEST(testSendGet);
CPPUNIT_TEST(testSendSet);
@@ -38,8 +37,6 @@ class RequestTest : public CppUnit::TestFixture
typedef GenericRequest<MyPayload> MyRequest;
public:
- RequestTest() {}
-
void setUp() {
channel_ = new DummyIQChannel();
router_ = new IQRouter(channel_);
diff --git a/Swiften/Queries/UnitTest/ResponderTest.cpp b/Swiften/Queries/UnitTest/ResponderTest.cpp
index 3a17729..97eb0c6 100644
--- a/Swiften/Queries/UnitTest/ResponderTest.cpp
+++ b/Swiften/Queries/UnitTest/ResponderTest.cpp
@@ -16,8 +16,7 @@
using namespace Swift;
-class ResponderTest : public CppUnit::TestFixture
-{
+class ResponderTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(ResponderTest);
CPPUNIT_TEST(testConstructor);
CPPUNIT_TEST(testStart);
@@ -30,8 +29,6 @@ class ResponderTest : public CppUnit::TestFixture
CPPUNIT_TEST_SUITE_END();
public:
- ResponderTest() {}
-
void setUp() {
channel_ = new DummyIQChannel();
router_ = new IQRouter(channel_);