Commit 203eaebc authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[tests] Improves unitary test on pool.cpp

parent e7614beb
......@@ -120,7 +120,7 @@ BOOST_AUTO_TEST_CASE (pool_display)
" fontcolor = black, color = black, fillcolor=cyan, style=filled, shape=box ]\n"
/* Check the two substring (remove the date) */
/* Check the two substring (remove the date) -**/
std::string s_output_wgph = oss_output_wgph.str();
std::string s_crmk="*/";
......@@ -134,6 +134,15 @@ BOOST_AUTO_TEST_CASE (pool_display)
// Test name of an object.
std::istringstream an_iss("MyEntityInst.in_double");
dg::SignalBase<int> &aSignal=
std::string aSignalName=aSignal.getName();
testExistence = aSignalName=="MyEntity(MyEntityInst)::input(double)::in_double";
// Deregister the entity.
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