#include "test_fixtures.hxx"
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
using namespace std;
using namespace libt2n;
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)
{