e1b211f254
- BOOST_TEST_GLOBAL_FIXTURE explained - BOOST_TEST_GLOBAL_INITIALIZATION explained - changed the examples, deprecating BOOST_GLOBAL_FIXTURE - in the logger part, introduced the fact that BOOST_TEST_GLOBAL_INITIALIZATION should be used and no assertion is supported in this case
14 lines
353 B
Plaintext
14 lines
353 B
Plaintext
//[example_output
|
|
> fixture_04 --log_level=message
|
|
Running 2 test cases...
|
|
ctor fixture i=0
|
|
setup fixture i=0
|
|
running test_case1
|
|
running test_case2
|
|
./fixture_04.run-fail.cpp:42: error: in "test_case2": check MyGlobalFixture::i == 3 has failed [1 != 3]
|
|
teardown fixture i=1
|
|
dtor fixture i=3
|
|
|
|
*** 1 failure is detected in the test module "fixture_04"
|
|
//]
|