X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fmembind.test.cc;h=14982ce65c308b180b15df6eafb4c0a1627d0404;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=465e29c44e7a37318fdbcc721477ec6d81cc4e9e;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Utils/membind.test.cc b/Utils/membind.test.cc index 465e29c..14982ce 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 @@ -20,7 +20,8 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Unit tests +/** \file + \brief membind unit tests */ //#include "membind.test.hh" //#include "membind.test.ih" @@ -28,22 +29,22 @@ // Custom includes #include #include -#include "Utils/membind.hh" +#include "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()"; } - std::string meth2(int foo, int bar) { + std::string meth2(int foo, int bar) const { std::stringstream s; s << "meth2(" << foo << "," << bar << ")"; return s.str(); @@ -68,5 +69,10 @@ BOOST_AUTO_UNIT_TEST(membind) // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: