X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fmembind.test.cc;h=f30a00af0a3665a97d5e78d5f20f6e12d0845e96;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=7c0595494f262d6f5a3a91f09ff95bb7e2babf3f;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Utils/membind.test.cc b/Utils/membind.test.cc index 7c05954..f30a00a 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 @@ -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 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: