Skip to content
Snippets Groups Projects
Commit c1d01c1f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding missing files

parent 8065e9eb
No related branches found
No related tags found
No related merge requests found
/*
* unit_test_init_cleanup.hpp
*
* Created on: Apr 17, 2015
* Author: Pietro Incardona
*/
#ifndef UNIT_TEST_INIT_CLEANUP_HPP_
#define UNIT_TEST_INIT_CLEANUP_HPP_
#include "VCluster.hpp"
struct ut_start {
ut_start() { BOOST_MESSAGE("Initialize global VCluster"); init_global_v_cluster(&boost::unit_test::framework::master_test_suite().argc,&boost::unit_test::framework::master_test_suite().argv); }
~ut_start() { BOOST_MESSAGE("Delete global VClster");delete(global_v_cluster); }
};
//____________________________________________________________________________//
BOOST_GLOBAL_FIXTURE( ut_start );
#endif /* UNIT_TEST_INIT_CLEANUP_HPP_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment