X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.test.hh;h=220864d961b88a9b4b78696d40c4cb8effe06b3c;hb=51044eb18f034c1a059ffe2fb109a422c1cbe251;hp=047a6a9338d445f6ccb60cc770a1719a1a37b4f8;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/SocketProtocol.test.hh b/Socket/SocketProtocol.test.hh index 047a6a9..220864d 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,8 +31,8 @@ //#include "SocketProtocol.test.mpp" ///////////////////////////////hh.p//////////////////////////////////////// -namespace satcom { -namespace lib { +namespace senf { + namespace test { class SomeProtocol @@ -40,19 +40,19 @@ namespace test { { public: ~SomeProtocol() {} - + void init_client() const {} void init_server() const {} - std::auto_ptr clone() 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 +64,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: