7 #define BOOST_TEST_DYN_LINK
8 #define BOOST_TEST_MODULE "Test module for OSystem layer"
10 #include <boost/test/unit_test.hpp>
42 BOOST_CHECK( OSystem::instance().lib_loader() !=
nullptr );
49 BOOST_CHECK_NO_THROW( OSystem::instance().layer()->execute_command(
"echo"));
57 BOOST_CHECK( OSystem::instance().layer() !=
nullptr );
59 BOOST_CHECK( OSystem::instance().layer()->platform_name() != std::string() );
61 BOOST_CHECK( OSystem::instance().layer()->back_trace() != std::string() );
63 BOOST_CHECK( OSystem::instance().layer()->process_id() > 0 );
65 BOOST_CHECK( OSystem::instance().layer()->memory_usage() > 0 );
70 BOOST_AUTO_TEST_SUITE_END()
~OSystemFixture()
common tear-down for each test case
Top-level namespace for coolfluid.
OSystemFixture()
common setup for each test case
BOOST_AUTO_TEST_CASE(layer_ptr)
Most basic kernel library.