Initial cmake conversion of the libt2n project except the example projects. The unit...
[libt2n] / test / wrapper.cpp
index e4bffb6..5fedaf5 100644 (file)
@@ -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 <config.h>
-#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)
 {