X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=test%2Ftimeout.cpp;h=936cc6ab2a8e3ffc19a9b7df50049c14ca99d5f0;hp=8f67cacd9ae399fb3532e41e2a2e212e6541e0fd;hb=a63e08b83794273da3840e0b8bf15bf0085fe3c4;hpb=df94ded3d8958d9baff6baebc8e0ac85244da31d diff --git a/test/timeout.cpp b/test/timeout.cpp index 8f67cac..936cc6a 100644 --- a/test/timeout.cpp +++ b/test/timeout.cpp @@ -49,9 +49,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; @@ -370,8 +368,6 @@ BOOST_AUTO_TEST_CASE(CommandTimeout) } catch(t2n_transfer_error &e) { errormsg=e.what(); } - catch(...) - { throw; } BOOST_CHECK_EQUAL(string("timeout exceeded"),errormsg); } @@ -449,8 +445,6 @@ BOOST_AUTO_TEST_CASE(CommandSlowResponse) } catch(t2n_transfer_error &e) { errormsg=e.what(); } - catch(...) - { throw; } BOOST_CHECK_EQUAL(string("timeout exceeded"),errormsg); } @@ -506,8 +500,6 @@ BOOST_AUTO_TEST_CASE(DisconnectOnWrite) } catch(t2n_transfer_error &e) { errormsg=e.what(); } - catch(...) - { throw; } BOOST_CHECK_EQUAL(string("write() returned Broken pipe"),errormsg); } @@ -569,8 +561,6 @@ BOOST_AUTO_TEST_CASE(WriteTwice) } catch(t2n_transfer_error &e) { errormsg=e.what(); } - catch(...) - { throw; } BOOST_CHECK_EQUAL(string("write() returned Broken pipe"),errormsg); }