diff options
Diffstat (limited to 'Swiften/Queries')
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_); |