]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/example/unit_test_example_09_2.cpp
1 // (C) Copyright Gennadiy Rozental 2005-2014.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org/libs/test for the library home page.
9 // only one file should define BOOST_TEST_MAIN/BOOST_TEST_MODULE
10 #include <boost/test/unit_test.hpp>
15 //____________________________________________________________________________//
18 MyConfig2() { std::cout
<< "global setup part2\n"; }
19 ~MyConfig2() { std::cout
<< "global teardown part2\n"; }
22 // structure MyConfig2 is used as a global fixture. You could have any number of global fxtures
23 BOOST_TEST_GLOBAL_FIXTURE( MyConfig2
);
25 //____________________________________________________________________________//
27 BOOST_AUTO_TEST_CASE( my_test2
)
32 //____________________________________________________________________________//