Packets: Fix VariantParser invalid parser access bug
[senf.git] / Utils / membind.test.cc
index 7c05954..6b3bec8 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
-// Copyright (C) 2006 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Copyright (C) 2006
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+//     Stefan Bund <g0dil@berlios.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
 // Custom includes
 #include <sstream>
 #include <string>
-#include "Utils/membind.hh"
+#include "../Utils/membind.hh"
 
-#include <boost/test/auto_unit_test.hpp>
+#include "../Utils/auto_unit_test.hh"
 #include <boost/test/test_tools.hpp>
 
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
 
 namespace {
-    
+
     struct Test {
-        char const * meth1() { 
+        char const * meth1() {
             return "meth1()";
         }
 
@@ -55,8 +55,8 @@ namespace {
 BOOST_AUTO_UNIT_TEST(membind)
 {
     Test instance;
-    boost::function<char const * ()> f1 (satcom::lib::membind(&Test::meth1,instance));
-    boost::function<std::string (int,int)> f2 (satcom::lib::membind(&Test::meth2,instance));
+    boost::function<char const * ()> f1 (senf::membind(&Test::meth1,instance));
+    boost::function<std::string (int,int)> f2 (senf::membind(&Test::meth2,instance));
 
     BOOST_CHECK_EQUAL( f1(), "meth1()" );
     BOOST_CHECK_EQUAL( f2(1,2), "meth2(1,2)" );
@@ -68,5 +68,10 @@ BOOST_AUTO_UNIT_TEST(membind)
 \f
 // 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: