comparison DEPENDENCIES/generic/include/boost/test/detail/log_level.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 // (C) Copyright Gennadiy Rozental 2005-2008.
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 // File : $RCSfile$
9 //
10 // Version : $Revision: 49312 $
11 //
12 // Description : shared definition for unit test log levels
13 // ***************************************************************************
14
15 #ifndef BOOST_TEST_LOG_LEVEL_HPP_011605GER
16 #define BOOST_TEST_LOG_LEVEL_HPP_011605GER
17
18 namespace boost {
19 namespace unit_test {
20
21 // ************************************************************************** //
22 // ************** log levels ************** //
23 // ************************************************************************** //
24
25 // each log level includes all subsequent higher loging levels
26 enum log_level {
27 invalid_log_level = -1,
28 log_successful_tests = 0,
29 log_test_units = 1,
30 log_messages = 2,
31 log_warnings = 3,
32 log_all_errors = 4, // reported by unit test macros
33 log_cpp_exception_errors = 5, // uncaught C++ exceptions
34 log_system_errors = 6, // including timeouts, signals, traps
35 log_fatal_errors = 7, // including unit test macros or
36 // fatal system errors
37 log_nothing = 8
38 };
39
40 } // namespace unit_test
41 } // namespace boost
42
43 #endif // BOOST_TEST_LOG_LEVEL_HPP_011605GER