]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/example/unit_test_example_09_1.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 #define BOOST_TEST_MODULE Unit_test_example_09
10 #include <boost/test/unit_test.hpp>
15 //____________________________________________________________________________//
18 MyConfig() { std::cout
<< "global setup part1\n"; }
19 ~MyConfig() { std::cout
<< "global teardown part1\n"; }
22 // structure MyConfig is used as a global fixture - it's invoked pre and post any testing is performed
23 BOOST_GLOBAL_FIXTURE( MyConfig
);
25 //____________________________________________________________________________//
27 BOOST_AUTO_TEST_CASE( my_test1
)
32 //____________________________________________________________________________//