Go to the source code of this file.
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE basic_log |
◆ basic_access_log_type
◆ BOOST_AUTO_TEST_CASE() [1/4]
BOOST_AUTO_TEST_CASE |
( |
access_clear | | ) |
|
Definition at line 57 of file basic.cpp.
57 {
59
60 std::stringstream out;
61 access_log
logger(0xffffffff,&out);
62
63
64 logger.clear_channels(0xffffffff);
65
66
68
69 BOOST_CHECK( out.str().size() == 0 );
70}
Basic logger that outputs to an ostream.
static level const devel
Development messages (warning: very chatty)
◆ BOOST_AUTO_TEST_CASE() [2/4]
BOOST_AUTO_TEST_CASE |
( |
basic_concurrency | | ) |
|
Definition at line 72 of file basic.cpp.
72 {
74
75 std::stringstream out;
76 access_log
logger(0xffffffff,&out);
77
78 logger.set_channels(0xffffffff);
79
81
82 BOOST_CHECK( out.str().size() > 0 );
83}
◆ BOOST_AUTO_TEST_CASE() [3/4]
BOOST_AUTO_TEST_CASE |
( |
copy_constructor | | ) |
|
Definition at line 86 of file basic.cpp.
86 {
87 std::stringstream out;
88
91
92 logger2.set_channels(0xffffffff);
94 BOOST_CHECK( out.str().size() > 0 );
95}
◆ BOOST_AUTO_TEST_CASE() [4/4]
BOOST_AUTO_TEST_CASE |
( |
is_token_char | | ) |
|
Definition at line 39 of file basic.cpp.
39 {
41
43
48
50
55}
static level const rerror