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é <>
parent 123386e9
......@@ -50,8 +50,8 @@ BOOST_AUTO_TEST_CASE (constructor)
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment