X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FTypeInfo.test.cc;h=1d05bfb1be1c7b82ddf930d2d1bf6f2df1ad5387;hb=032707d24b1059febe83ce56b11fd79df106c6e2;hp=699fd126861cb5d53de75a75edd1e04b3d85bc31;hpb=1806298d27b59847c61931d2bd44932589a782ab;p=senf.git diff --git a/Utils/TypeInfo.test.cc b/Utils/TypeInfo.test.cc index 699fd12..1d05bfb 100644 --- a/Utils/TypeInfo.test.cc +++ b/Utils/TypeInfo.test.cc @@ -40,7 +40,7 @@ namespace test { 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,5 @@ BOOST_AUTO_UNIT_TEST(prettyName) // Local Variables: // mode: c++ -// c-file-style: "satcom" +// c-file-style: "senf" // End: