Commit 5076c5c0 authored by Olivier Stasse's avatar Olivier Stasse Committed by olivier stasse
Browse files

[tests/entity.cpp] Clean code

Remove useless usleep
Remove useless array.
parent 4fc54efc
...@@ -153,11 +153,6 @@ BOOST_AUTO_TEST_CASE (sendMsg) ...@@ -153,11 +153,6 @@ BOOST_AUTO_TEST_CASE (sendMsg)
dynamicgraph::Entity& entity = dynamicgraph::Entity& entity =
dynamicgraph::PoolStorage::getInstance()->getEntity("my-entity"); dynamicgraph::PoolStorage::getInstance()->getEntity("my-entity");
std::string AppendMsg[4] = {" INFO_WARNING_ERROR",
" WARNING_ERROR",
" ERROR",
" ALL",
};
output_test_stream output; output_test_stream output;
...@@ -186,7 +181,6 @@ BOOST_AUTO_TEST_CASE (sendMsg) ...@@ -186,7 +181,6 @@ BOOST_AUTO_TEST_CASE (sendMsg)
}; };
BOOST_CHECK (output.is_equal ("")); BOOST_CHECK (output.is_equal (""));
usleep (1000000);
dynamicgraph::RealTimeLogger::destroy(); dynamicgraph::RealTimeLogger::destroy();
} }
......
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