moved Sniffer into new Examples directory
[senf.git] / Utils / membind.test.cc
index 7c05954..5cbac8c 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 //
-// Copyright (C) 2006 
+// Copyright (C) 2006
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
 //     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
@@ -37,9 +37,9 @@
 ///////////////////////////////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,8 @@ 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"
 // End: