blob: 549db0c921ba60cd8868af3d47cbc966402dab68 [file] [log] [blame]
Jeff Thompsonef2d5a42013-08-22 19:09:24 -07001// (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
Jeff Thompson3d613fd2013-10-15 15:39:04 -070015#ifndef NDNBOOST_TEST_LOG_LEVEL_HPP_011605GER
16#define NDNBOOST_TEST_LOG_LEVEL_HPP_011605GER
Jeff Thompsonef2d5a42013-08-22 19:09:24 -070017
18namespace ndnboost {
19namespace unit_test {
20
21// ************************************************************************** //
22// ************** log levels ************** //
23// ************************************************************************** //
24
25// each log level includes all subsequent higher loging levels
26enum 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 ndnboost
42
Jeff Thompson3d613fd2013-10-15 15:39:04 -070043#endif // NDNBOOST_TEST_LOG_LEVEL_HPP_011605GER