Implemented global cross-reference generation
[senf.git] / Utils / TypeInfo.test.cc
index 699fd12..1d05bfb 100644 (file)
@@ -40,7 +40,7 @@ namespace test {
         virtual ~Base() {}
     };
 
-    template <class C, unsigned N>
+    template <class C, int N>
     struct Foo : public Base
     {};
 
@@ -51,11 +51,10 @@ BOOST_AUTO_UNIT_TEST(prettyName)
 {
     typedef test::Foo< test::Foo<test::Blub, 1>, 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<test::Foo<test::Blub, 1>, 10>" );
+    BOOST_CHECK_EQUAL( senf::prettyName(typeid(int)), "int");
+    BOOST_CHECK_EQUAL( senf::prettyName(typeid(baseOb)), "test::Foo<test::Foo<test::Blub, 1>, 10>" );
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////
@@ -64,5 +63,5 @@ BOOST_AUTO_UNIT_TEST(prettyName)
 \f
 // Local Variables:
 // mode: c++
-// c-file-style: "satcom"
+// c-file-style: "senf"
 // End: