8 #define BOOST_TEST_DYN_LINK
9 #define BOOST_TEST_MODULE "Tests mesh reading"
11 #include <boost/test/unit_test.hpp>
12 #include <boost/foreach.hpp>
13 #include <boost/regex.hpp>
31 using namespace boost;
43 m_argc = boost::unit_test::framework::master_test_suite().argc;
44 m_argv = boost::unit_test::framework::master_test_suite().argv;
46 root = allocate_component<Group>(
"Root");
47 reader = build_component_abstract_type<MeshReader>(
"cf3.mesh.neu.Reader",
"MyReader");
50 root->add_component( reader );
52 ExceptionManager::instance().ExceptionOutputs =
false;
53 ExceptionManager::instance().ExceptionDumps =
false;
62 boost::shared_ptr< Component >
root;
63 boost::shared_ptr< MeshReader >
reader;
98 boost::shared_ptr< MeshTransformer > transformer = build_component_abstract_type<MeshTransformer>(
"cf3.mesh.actions.Info",
"info");
100 std::vector<std::string> args;
101 args.push_back(
"variable:bool=true");
102 args.push_back(
"array_vars:array<bool>=true,false,true");
111 BOOST_AUTO_TEST_SUITE_END()
external boost library namespace
Basic Classes for Mesh applications used by COOLFluiD.
Top-level namespace for coolfluid.
Most basic kernel library.