add simple test for OpmLog::setupSimpleDefaultLog.
This commit is contained in:
parent
77a3df1a61
commit
a5afe90659
@ -359,3 +359,13 @@ BOOST_AUTO_TEST_CASE(TestOpmLogWithLimits)
|
||||
std::cout << log_stream1.str() << std::endl;
|
||||
std::cout << log_stream2.str() << std::endl;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(TestsetupSimpleLog)
|
||||
{
|
||||
bool use_prefix = false;
|
||||
OpmLog::setupSimpleDefaultLogging(use_prefix);
|
||||
BOOST_CHECK_EQUAL(true, OpmLog::hasBackend("SimpleDefautLog"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user