diff --git a/src/proc/asset/typed-id.hpp b/src/proc/asset/typed-id.hpp index c86215878..0c9db1f12 100644 --- a/src/proc/asset/typed-id.hpp +++ b/src/proc/asset/typed-id.hpp @@ -124,7 +124,7 @@ namespace asset { public: void - registerInstance (std::tr1::weak_ptr smart_ptr_instance) + registerInstance (std::tr1::weak_ptr smart_ptr_instance) { TODO ("actually attach the smart-ptr to the existing TypedID registration"); } diff --git a/tests/components/proc/asset/typed-id-test.cpp b/tests/components/proc/asset/typed-id-test.cpp index 0a5379c47..21df91715 100644 --- a/tests/components/proc/asset/typed-id-test.cpp +++ b/tests/components/proc/asset/typed-id-test.cpp @@ -128,6 +128,7 @@ namespace test { void verifyRegistration() { +#if false /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 uint type_cnt = TypedID::type_count(); uint elm_cnt = TypedID::element_count(); @@ -145,12 +146,14 @@ namespace test { DummyID idu = TypedID::getID ("up"); CHECK (idu); CHECK ("up" == idu.getSym()); +#endif /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 } void verifyAssetFrontend() { +#if false /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 PInv inventory = asset::Meta::create (Category (META,"typed-id-test-dummy")); CHECK (inventory); CHECK (0 == inventory->size()); @@ -165,6 +168,7 @@ namespace test { CHECK (2 == inventory->size()); for_each (inventory->all(), show ); +#endif /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 } template @@ -178,6 +182,7 @@ namespace test { void verifyInstanceAccess() { +#if false /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 PDum top (new DummyEntity ("top")); PDum bot (new DummyEntity ("bottom")); @@ -205,12 +210,14 @@ namespace test { CHECK (2 == bot.use_count()); for_each (TypedID::allInstances(), show ); +#endif /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 } void verifyAutomaticCleanup() { +#if false /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 PDum cha (new DummyEntity ("charm")); PDum bea (new DummyEntity ("beauty")); @@ -225,6 +232,7 @@ namespace test { CHECK (0 == TypedID::entry_count()); CHECK (! (TypedID::get("beauty"))); CHECK (isnil (TypedID::allInstances())); +#endif /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #599 } };