X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FFileHandle.test.cc;h=dd2243559be77ab7d213c9e600246a4426ce3890;hb=70256cc93f59f5d2c9b3428775a181e5e225bfc5;hp=c86a26b99aadefa1823be4e7e6e447f00bc31b63;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/FileHandle.test.cc b/Socket/FileHandle.test.cc index c86a26b..dd22435 100644 --- a/Socket/FileHandle.test.cc +++ b/Socket/FileHandle.test.cc @@ -38,19 +38,19 @@ ///////////////////////////////cc.p//////////////////////////////////////// namespace { - class FHandle : public satcom::lib::FileHandle + class FHandle : public senf::FileHandle { public: FHandle(int fd=-1) - : satcom::lib::FileHandle(std::auto_ptr( - new satcom::lib::FileBody(fd))) {} + : senf::FileHandle(std::auto_ptr( + new senf::FileBody(fd))) {} FHandle(std::string name) - : satcom::lib::FileHandle(std::auto_ptr( - new satcom::lib::FileBody())) + : senf::FileHandle(std::auto_ptr( + new senf::FileBody())) { int rv = ::open(name.c_str(),O_RDWR|O_NONBLOCK) ; if (rv<0) - throw satcom::lib::SystemException(errno); + throw senf::SystemException(errno); fd(rv); } }; @@ -71,7 +71,7 @@ BOOST_AUTO_UNIT_TEST(fileHandle) BOOST_CHECK(fh.writeable()); BOOST_CHECK_NO_THROW(fh.close()); - BOOST_CHECK_THROW(fh.close(),satcom::lib::SystemException); + BOOST_CHECK_THROW(fh.close(),senf::SystemException); BOOST_CHECK_NO_THROW(fh.terminate()); } @@ -111,5 +111,5 @@ BOOST_AUTO_UNIT_TEST(fileHandle) // Local Variables: // mode: c++ -// c-file-style: "satcom" +// c-file-style: "senf" // End: