X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FTypeInfo.test.cc;h=f77c530bfbebf3de1deca693ce3eb7b675bb6342;hb=b8ca4a544cce3e6023bb56b712a03d6362f2bb79;hp=ac73a7eb942a2bc2134a9f8eedc359dc1a5016b7;hpb=839fb5fb28aa2f5fde157ace7790edfaa6e00de6;p=senf.git diff --git a/Utils/TypeInfo.test.cc b/Utils/TypeInfo.test.cc index ac73a7e..f77c530 100644 --- a/Utils/TypeInfo.test.cc +++ b/Utils/TypeInfo.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 TypeInfo unit tests */ //#include "TypeInfo.test.hh" //#include "TypeInfo.test.ih" @@ -28,14 +29,14 @@ // Custom includes #include "TypeInfo.hh" -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// namespace test { - + struct Base { virtual ~Base() {} }; @@ -53,8 +54,8 @@ BOOST_AUTO_UNIT_TEST(prettyName) TestType ob; test::Base const & baseOb(ob); - BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(int)), "int"); - BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(baseOb)), "test::Foo, 10>" ); + BOOST_CHECK_EQUAL( senf::prettyName(typeid(int)), "int"); + BOOST_CHECK_EQUAL( senf::prettyName(typeid(baseOb)), "test::Foo, 10>" ); } ///////////////////////////////cc.e//////////////////////////////////////// @@ -63,5 +64,10 @@ BOOST_AUTO_UNIT_TEST(prettyName) // 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: