Socket: Moved PacketSocketHandle and related stuff into 'Raw' subdir
[senf.git] / Socket / Protocols / Raw / main.test.cc
similarity index 70%
rename from Packets/DefaultBundle/EthernetPacket.ct
rename to Socket/Protocols/Raw/main.test.cc
index c38d712..91e601d 100644 (file)
@@ -1,7 +1,9 @@
-// Copyright (C) 2007 
+// $Id: main.test.cc 296 2007-07-10 20:39:34Z g0dil $
+//
+// Copyright (C) 2006
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <g0dil@berlios.de>
+//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
 //
 // 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
 // Free Software Foundation, Inc.,
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-/** \file
-    \brief EthernetPacket non-inline template implementation  */
+// Definition of non-inline non-template functions
 
-//#include "EthernetPacket.ih"
+//#include "test.hh"
+//#include "test.ih"
 
 // Custom includes
+#define BOOST_AUTO_TEST_MAIN
+#include <boost/test/auto_unit_test.hpp>
+#include <boost/test/test_tools.hpp>
 
 #define prefix_
-///////////////////////////////ct.p////////////////////////////////////////
+///////////////////////////////cc.p////////////////////////////////////////
 
-template <class InputIterator>
-prefix_ senf::MACAddress::MACAddress(InputIterator i)
-{
-    iterator j (begin());
-    iterator j_end (end());
-    for (;j!=j_end;++j,++i)
-        *j = *i;
-}
 
-///////////////////////////////ct.e////////////////////////////////////////
+///////////////////////////////cc.e////////////////////////////////////////
 #undef prefix_
 
 \f
 // Local Variables:
 // mode: c++
 // fill-column: 100
-// comment-column: 40
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End: