]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/test/example/unit_test_example_09_1.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / test / example / unit_test_example_09_1.cpp
CommitLineData
7c673cae
FG
1// (C) Copyright Gennadiy Rozental 2005-2014.
2// Distributed under the Boost Software License, Version 1.0.
b32b8144 3// (See accompanying file LICENSE_1_0.txt or copy at
7c673cae
FG
4// http://www.boost.org/LICENSE_1_0.txt)
5
6// See http://www.boost.org/libs/test for the library home page.
7
8// Boost.Test
9#define BOOST_TEST_MODULE Unit_test_example_09
10#include <boost/test/unit_test.hpp>
11
12// STL
13#include <iostream>
14
15//____________________________________________________________________________//
16
b32b8144
FG
17struct MyConfig {
18 MyConfig() { std::cout << "global setup part1\n"; }
19 ~MyConfig() { std::cout << "global teardown part1\n"; }
7c673cae
FG
20};
21
22// structure MyConfig is used as a global fixture - it's invoked pre and post any testing is performed
b32b8144 23BOOST_TEST_GLOBAL_FIXTURE( MyConfig );
7c673cae
FG
24
25//____________________________________________________________________________//
26
27BOOST_AUTO_TEST_CASE( my_test1 )
28{
29 BOOST_CHECK( true );
30}
31
32//____________________________________________________________________________//
33
34// EOF