X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FTypeInfo.test.cc;h=2a5e1c9e67d0e70390122d7dcf078d569b56759e;hb=9a988902090d28007578e93bffd809f6bd913155;hp=699fd126861cb5d53de75a75edd1e04b3d85bc31;hpb=1806298d27b59847c61931d2bd44932589a782ab;p=senf.git diff --git a/Utils/TypeInfo.test.cc b/Utils/TypeInfo.test.cc index 699fd12..2a5e1c9 100644 --- a/Utils/TypeInfo.test.cc +++ b/Utils/TypeInfo.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 @@ -35,12 +35,12 @@ ///////////////////////////////cc.p//////////////////////////////////////// namespace test { - + struct Base { virtual ~Base() {} }; - template + template struct Foo : public Base {}; @@ -51,11 +51,10 @@ BOOST_AUTO_UNIT_TEST(prettyName) { typedef test::Foo< test::Foo, 10> TestType; TestType ob; - // test::Base const & baseOb(ob); + test::Base const & baseOb(ob); - BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(int)), "int"); - // The exact representation is compiler version dependent ... - // 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//////////////////////////////////////// @@ -64,5 +63,8 @@ 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" // End: