X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.test.hh;h=f1459fe3ebea8603cea5eb7eb7fd35a2f888e65d;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=047a6a9338d445f6ccb60cc770a1719a1a37b4f8;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/SocketProtocol.test.hh b/Socket/SocketProtocol.test.hh index 047a6a9..f1459fe 100644 --- a/Socket/SocketProtocol.test.hh +++ b/Socket/SocketProtocol.test.hh @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Copyright (C) 2006 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -31,28 +31,25 @@ //#include "SocketProtocol.test.mpp" ///////////////////////////////hh.p//////////////////////////////////////// -namespace satcom { -namespace lib { +namespace senf { namespace test { class SomeProtocol - : public ConcreteSocketProtocol + : public ConcreteSocketProtocol { public: ~SomeProtocol() {} - + void init_client() const {} void init_server() const {} - std::auto_ptr clone() const - { return std::auto_ptr(new SomeProtocol()); } - unsigned available() const + unsigned available() const { return Policy::ReadPolicy::TEST_SIZE; } - bool eof() const + bool eof() const { return false; } }; -}}} +}} ///////////////////////////////hh.e//////////////////////////////////////// //#include "SocketProtocol.test.cci" @@ -64,5 +61,10 @@ namespace test { // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: