Skip to content
Snippets Groups Projects
Commit 580a58a5 authored by Bergé's avatar Bergé
Browse files

Increase the coverage (include/dynamic-graph/Entity.h -> 100%)

Add on test/Entity.h the virtual function (Entity::getClassName)

Signed-off-by: default avatarBergé <corentin.berge@outlook.fr>
parent 123386e9
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment