diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-01-21 18:36:11 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-01-21 18:36:11 (GMT) |
commit | 739e16ab8fa21f22b8ddf827b0979e71bf613e78 (patch) | |
tree | 91bf9bad8e8ade3aa9484fc01dff0221addb4cbe /Swiften/Component/UnitTest | |
parent | c632dffabdd3387547bd07cd96754deab47703bc (diff) | |
download | swift-contrib-739e16ab8fa21f22b8ddf827b0979e71bf613e78.zip swift-contrib-739e16ab8fa21f22b8ddf827b0979e71bf613e78.tar.bz2 |
Code cleanup.
Diffstat (limited to 'Swiften/Component/UnitTest')
-rw-r--r-- | Swiften/Component/UnitTest/ComponentConnectorTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Swiften/Component/UnitTest/ComponentConnectorTest.cpp b/Swiften/Component/UnitTest/ComponentConnectorTest.cpp index 7d00b09..bfa2cb2 100644 --- a/Swiften/Component/UnitTest/ComponentConnectorTest.cpp +++ b/Swiften/Component/UnitTest/ComponentConnectorTest.cpp @@ -32,10 +32,9 @@ class ComponentConnectorTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE_END(); public: - ComponentConnectorTest() : host1("1.1.1.1"), host2("2.2.2.2") { - } - void setUp() { + host1 = HostAddress("1.1.1.1"); + host2 = HostAddress("2.2.2.2"); eventLoop = new DummyEventLoop(); resolver = new StaticDomainNameResolver(eventLoop); connectionFactory = new MockConnectionFactory(eventLoop); |