]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/test/usage-variants-ts/shared-library-custom-init-test.cpp
1 // (C) Copyright Gennadiy Rozental 2001-2015.
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.
10 // Version : $Revision$
12 // Description : shared library usage variant with custom init test
13 // ***************************************************************************
16 #include <boost/test/unit_test.hpp>
18 BOOST_AUTO_TEST_CASE( test
)
21 BOOST_CHECK( i
*i
== 1 );
24 //____________________________________________________________________________//
26 bool init_unit_test() {
27 boost::unit_test::framework::master_test_suite().p_name
.value
= "Custom init func";
32 //____________________________________________________________________________//
34 int main(int argc
, char* argv
[])
36 return boost::unit_test::unit_test_main( &init_unit_test
, argc
, argv
);
39 //____________________________________________________________________________//