7 #define BOOST_TEST_DYN_LINK
8 #define BOOST_TEST_MODULE "Test module for DataComponentWrapper.hpp"
11 #include <boost/test/unit_test.hpp>
46 boost::shared_ptr<Component_std_set_int> comp_set = allocate_component<Component_std_set_int>(
"set");
48 std::set<int>& wrapped_set = comp_set->data();
50 BOOST_CHECK_EQUAL(comp_set->data().size() , 0u);
52 wrapped_set.insert(5);
54 BOOST_CHECK_EQUAL(comp_set->data().size() , 1u);
60 BOOST_AUTO_TEST_SUITE_END()
#define create_component_data_type(data_type, API, CName, Cname_type_name)
macro to create data wrapping component type This macro creates a component class that wraps any give...
BOOST_AUTO_TEST_CASE(test_DataComponentWrapper)
Top-level namespace for coolfluid.
DataComponentWrapperFixture()
common setup for each test case
coolfluid3 header, included almost everywhere
~DataComponentWrapperFixture()
common tear-down for each test case
Most basic kernel library.