X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fmembind.test.cc;h=98ddb17a373e1792183df5e4d734c223c9f88857;hb=d6abda313f70c8a849c5e3f3bbfc12ce301789f1;hp=7c0595494f262d6f5a3a91f09ff95bb7e2babf3f;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Utils/membind.test.cc b/Utils/membind.test.cc index 7c05954..98ddb17 100644 --- a/Utils/membind.test.cc +++ b/Utils/membind.test.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -28,18 +28,18 @@ // Custom includes #include #include -#include "Utils/membind.hh" +#include "../Utils/membind.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #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 f1 (satcom::lib::membind(&Test::meth1,instance)); - boost::function f2 (satcom::lib::membind(&Test::meth2,instance)); + boost::function f1 (senf::membind(&Test::meth1,instance)); + boost::function 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) // 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: