X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=test%2Fwrapper.cpp;h=5fedaf57babbbd62425b8f503aa638c1f23c73c0;hp=e4bffb6e03c571dfc88e4514e64a1f6704c1acbf;hb=cf902cadb87cc6f75ae92c2dc64742555dd4f0f0;hpb=307b5e74c506b609d5c407be0943f45255ab5122 diff --git a/test/wrapper.cpp b/test/wrapper.cpp index e4bffb6..5fedaf5 100644 --- a/test/wrapper.cpp +++ b/test/wrapper.cpp @@ -50,9 +50,7 @@ on this file might be covered by the GNU General Public License. #include "test_fixtures.hxx" -#ifdef HAVE_CONFIG_H #include -#endif using namespace std; using namespace libt2n; @@ -424,30 +422,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) {