]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // (C) Copyright Andrzej Krzemienski 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 decorator_09 | |
10 | #include <boost/test/included/unit_test.hpp> | |
11 | namespace utf = boost::unit_test; | |
12 | ||
13 | BOOST_AUTO_TEST_CASE(test_1, | |
14 | * utf::disabled() | |
15 | * utf::description("enable only when ODBC is available")) | |
16 | { | |
17 | BOOST_TEST(1 == 1); | |
18 | } | |
19 | ||
20 | BOOST_AUTO_TEST_CASE(test_2, | |
21 | * utf::description("descriptions ") | |
22 | * utf::description("add up")) | |
23 | { | |
24 | BOOST_TEST(2 == 2); | |
25 | } | |
26 | //] |