decorator_09.run.cpp 671 B

1234567891011121314151617181920212223242526
  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. // See http://www.boost.org/libs/test for the library home page.
  6. //[example_code
  7. #define BOOST_TEST_MODULE decorator_09
  8. #include <boost/test/included/unit_test.hpp>
  9. namespace utf = boost::unit_test;
  10. BOOST_AUTO_TEST_CASE(test_1,
  11. * utf::disabled()
  12. * utf::description("enable only when ODBC is available"))
  13. {
  14. BOOST_TEST(1 == 1);
  15. }
  16. BOOST_AUTO_TEST_CASE(test_2,
  17. * utf::description("descriptions ")
  18. * utf::description("add up"))
  19. {
  20. BOOST_TEST(2 == 2);
  21. }
  22. //]