diff --git a/tests/custom-entity.cpp b/tests/custom-entity.cpp index e7448267f4467397be1c6d148eca8a71d8a7889c..54c3b132c01500dc3951d2aeb3b1fa99e6e6e17f 100644 --- a/tests/custom-entity.cpp +++ b/tests/custom-entity.cpp @@ -50,8 +50,8 @@ BOOST_AUTO_TEST_CASE (constructor) dynamicgraph::FactoryStorage::getInstance()-> newEntity("CustomEntity", "my-entity"); BOOST_CHECK_EQUAL (entity->getName (), "my-entity"); + BOOST_CHECK_EQUAL (entity->Entity::getClassName (), "Entity"); BOOST_CHECK_EQUAL (entity->getClassName (), CustomEntity::CLASS_NAME); - //CustomEntity entity2 (""); // Deregister entities before destroying them dynamicgraph::PoolStorage::destroy();