• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //  (C) Copyright Gennadiy Rozental 2011-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)
5 
6 //  See http://www.boost.org/libs/test for the library home page.
7 
8 //[example_code
9 #define BOOST_TEST_MODULE example
10 #include <boost/test/included/unit_test.hpp>
11 using namespace boost::unit_test;
12 
13 struct MyConfig {
MyConfigMyConfig14   MyConfig() {
15     unit_test_log.set_format( OF_XML );
16   }
~MyConfigMyConfig17   ~MyConfig() {}
18 };
19 
20 BOOST_TEST_GLOBAL_CONFIGURATION( MyConfig );
21 
BOOST_AUTO_TEST_CASE(test_case0)22 BOOST_AUTO_TEST_CASE( test_case0 ) {
23   BOOST_TEST( false );
24 }
25 //]
26