X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fmembind.test.cc;h=6b3bec8f3a0ee690fdfd53e1870eed92748221fa;hb=1b1d76302a5d61e918ef71f1c8e11f80ac1262e2;hp=7c0595494f262d6f5a3a91f09ff95bb7e2babf3f;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Utils/membind.test.cc b/Utils/membind.test.cc index 7c05954..6b3bec8 100644 --- a/Utils/membind.test.cc +++ b/Utils/membind.test.cc @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Copyright (C) 2006 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // 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 @@ -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: