X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=test%2Fwrapper.cpp;h=b1d30cd75139431438f2810bcdc6431cdc19c288;hp=e4bffb6e03c571dfc88e4514e64a1f6704c1acbf;hb=df94ded3d8958d9baff6baebc8e0ac85244da31d;hpb=307b5e74c506b609d5c407be0943f45255ab5122 diff --git a/test/wrapper.cpp b/test/wrapper.cpp index e4bffb6..b1d30cd 100644 --- a/test/wrapper.cpp +++ b/test/wrapper.cpp @@ -424,30 +424,10 @@ BOOST_AUTO_TEST_CASE(ignore_handler_reconnects) BOOST_CHECK_EQUAL(2,cnt); } -BOOST_AUTO_TEST_SUITE_END() - - - -class test_wrapper_noserverFixture : public KillChildOnShutdownFixture -{ -protected: - void send_hello(string hello_string, socket_server* ss, int conn_id) - { - server_connection *sc=ss->get_connection(conn_id); - sc->write(hello_string); - } -public: - test_wrapper_noserverFixture() - { - } - - ~test_wrapper_noserverFixture() - { - } -}; +BOOST_AUTO_TEST_SUITE_END() -BOOST_FIXTURE_TEST_SUITE(test_wrapper_noserver, test_wrapper_noserverFixture) +BOOST_FIXTURE_TEST_SUITE(test_wrapper_noserver, KillChildOnShutdownFixture) BOOST_AUTO_TEST_CASE(ignore_noserver) {