Commit d5a74761 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[tests] Improves the unit test of the debug-logger

TODO: Right now this is only a simple coverage.
The tests is always sending back True.
parent d7b08edb
......@@ -68,6 +68,7 @@ namespace dynamicgraph
BOOST_AUTO_TEST_CASE(debug_logger)
{
std::ofstream of;
dynamicgraph::RealTimeLogger::instance();
of.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app);
dgADD_OSTREAM_TO_RTLOG (of);
......@@ -81,6 +82,8 @@ BOOST_AUTO_TEST_CASE(debug_logger)
{
entity.testDebugTrace();
}
dynamicgraph::RealTimeLogger::destroy();
}
Markdown is supported
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