]> git.proxmox.com Git - ceph.git/blobdiff - 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
index 84b112e2cca246ac8898d4670dfaf3b7307e557f..62357703c21135a8ff235db4b5321f2ae094d90c 100644 (file)
@@ -1,6 +1,6 @@
 //  (C) Copyright Gennadiy Rozental 2005-2014.
 //  Distributed under the Boost Software License, Version 1.0.
-//  (See accompanying file LICENSE_1_0.txt or copy at 
+//  (See accompanying file LICENSE_1_0.txt or copy at
 //  http://www.boost.org/LICENSE_1_0.txt)
 
 //  See http://www.boost.org/libs/test for the library home page.
 
 //____________________________________________________________________________//
 
-struct MyConfig { 
-    MyConfig() { std::cout << "global setup part1\n"; } 
-    ~MyConfig() { std::cout << "global teardown part1\n"; } 
+struct MyConfig {
+    MyConfig() { std::cout << "global setup part1\n"; }
+    ~MyConfig() { std::cout << "global teardown part1\n"; }
 };
 
 // structure MyConfig is used as a global fixture - it's invoked pre and post any testing is performed
-BOOST_GLOBAL_FIXTURE( MyConfig );
+BOOST_TEST_GLOBAL_FIXTURE( MyConfig );
 
 //____________________________________________________________________________//