summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Queries/UnitTest')
-rw-r--r--Swiften/Queries/UnitTest/IQRouterTest.cpp5
-rw-r--r--Swiften/Queries/UnitTest/RequestTest.cpp5
-rw-r--r--Swiften/Queries/UnitTest/ResponderTest.cpp5
3 files changed, 3 insertions, 12 deletions
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_);