* wmain(): Use endl instead of '\n', for 'System uptime'
* wmain(): Output "[ROSAUTOTEST] " in two cases: 'System uptime' and all CSimpleException.
Configuration.GetSystemInformation();
Configuration.GetConfigurationFromFile();
Configuration.GetSystemInformation();
Configuration.GetConfigurationFromFile();
- ss << "\n\nSystem uptime " << setprecision(2) << fixed ;
- ss << ((float)GetTickCount()/1000) << " seconds\n";
+ ss << endl
+ << endl
+ << "[ROSAUTOTEST] System uptime " << setprecision(2) << fixed;
+ ss << ((float)GetTickCount()/1000) << " seconds" << endl;
StringOut(ss.str());
/* Report tests startup */
StringOut(ss.str());
/* Report tests startup */
}
catch(CSimpleException& e)
{
}
catch(CSimpleException& e)
{
// e.GetMessage() must include ending '\n'.
// e.GetMessage() must include ending '\n'.
- StringOut(e.GetMessage());
+ ss << "[ROSAUTOTEST] " << e.GetMessage();
+ StringOut(ss.str());
}
catch(CFatalException& e)
{
}
catch(CFatalException& e)
{