COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
utest-core.cpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
7 #define BOOST_TEST_DYN_LINK
8 #define BOOST_TEST_MODULE "Test module for component factory"
9 
10 #include <boost/test/unit_test.hpp>
11 
12 #include "common/Log.hpp"
13 #include "common/Core.hpp"
14 #include "common/PE/Comm.hpp"
15 
16 using namespace std;
17 using namespace boost;
18 using namespace cf3;
19 using namespace cf3::common;
20 
22 
24 {
27 
30 };
31 
33 
34 BOOST_FIXTURE_TEST_SUITE( FactoryTest, Core_fixture )
35 
36 
39 {
40  Core::instance().initiate(boost::unit_test::framework::master_test_suite().argc,
41  boost::unit_test::framework::master_test_suite().argv);
42 }
43 
45 
47 {
48  Core::instance().terminate();
49 }
50 
52 
53 BOOST_AUTO_TEST_SUITE_END()
54 
55 
external boost library namespace
STL namespace.
~Core_fixture()
common tear-down for each test case
Definition: utest-core.cpp:29
Top-level namespace for coolfluid.
Definition: Action.cpp:18
BOOST_AUTO_TEST_CASE(initiate)
Definition: utest-core.cpp:38
Core_fixture()
common setup for each test case
Definition: utest-core.cpp:26
Most basic kernel library.
Definition: Action.cpp:19
Send comments to:
COOLFluiD Web Admin