diff options
Diffstat (limited to 'src/boost/libs/test/test/baseline-outputs/log-formatter-test.pattern')
-rw-r--r-- | src/boost/libs/test/test/baseline-outputs/log-formatter-test.pattern | 1371 |
1 files changed, 1371 insertions, 0 deletions
diff --git a/src/boost/libs/test/test/baseline-outputs/log-formatter-test.pattern b/src/boost/libs/test/test/baseline-outputs/log-formatter-test.pattern new file mode 100644 index 00000000..0cbe5ab1 --- /dev/null +++ b/src/boost/libs/test/test/baseline-outputs/log-formatter-test.pattern @@ -0,0 +1,1371 @@ +* 1-format ******************************************************************* +Running 1 test case... +xxx/log-formatter-test.cpp:209: Entering test suite "1 test cases inside" +xxx/log-formatter-test.cpp:210: Entering test case "good_foo" +Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions +xxx/log-formatter-test.cpp:210: Leaving test case "good_foo" +xxx/log-formatter-test.cpp:209: Leaving test suite "1 test cases inside" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="1 test cases inside" file="xxx/log-formatter-test.cpp" line="209"><TestCase name="good_foo" file="xxx/log-formatter-test.cpp" line="210"><Message file="boost.test framework" line="0"><![CDATA[Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="1" skipped="0" errors="0" failures="0" id="0" name="1_test_cases_inside" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions + +]]></system-out> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="1" skipped="0" errors="0" failures="0" id="0" name="1_test_cases_inside" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 1 test case... +xxx/log-formatter-test.cpp:212: Entering test suite "1 bad test case inside" +xxx/log-formatter-test.cpp:213: Entering test case "bad_foo" +xxx/log-formatter-test.cpp:50: error: in "1 bad test case inside/bad_foo": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "1 bad test case inside/bad_foo": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "1 bad test case inside/bad_foo": non sense +xxx/log-formatter-test.cpp:213: Leaving test case "bad_foo" +xxx/log-formatter-test.cpp:212: Leaving test suite "1 bad test case inside" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="1 bad test case inside" file="xxx/log-formatter-test.cpp" line="212"><TestCase name="bad_foo" file="xxx/log-formatter-test.cpp" line="213"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="1" skipped="0" errors="0" failures="1" id="0" name="1_bad_test_case_inside" time="0.1234"> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: 1 bad test case inside/bad_foo +- file: log-formatter-test.cpp +- line: 213 +]]></system-err> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="1" skipped="0" errors="0" failures="1" id="0" name="1_bad_test_case_inside" time="0.1234"> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: 1 bad test case inside/bad_foo +- file: log-formatter-test.cpp +- line: 213 +]]></system-err> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 1 test case... +xxx/log-formatter-test.cpp:215: Entering test suite "1 almost good test case inside" +xxx/log-formatter-test.cpp:216: Entering test case "almost_good_foo" +xxx/log-formatter-test.cpp:46: warning: in "1 almost good test case inside/almost_good_foo": condition 2>3 is not satisfied [2 <= 3] +Test case 1 almost good test case inside/almost_good_foo did not check any assertions +xxx/log-formatter-test.cpp:216: Leaving test case "almost_good_foo" +xxx/log-formatter-test.cpp:215: Leaving test suite "1 almost good test case inside" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="1 almost good test case inside" file="xxx/log-formatter-test.cpp" line="215"><TestCase name="almost_good_foo" file="xxx/log-formatter-test.cpp" line="216"><Warning file="xxx/log-formatter-test.cpp" line="46"><![CDATA[condition 2>3 is not satisfied [2 <= 3]]]></Warning><Message file="boost.test framework" line="0"><![CDATA[Test case 1 almost good test case inside/almost_good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="0" skipped="0" errors="0" failures="0" id="0" name="1_almost_good_test_case_inside" time="0.1234"> +<testcase assertions="0" name="almost_good_foo" time="0.1234"> +<system-out><![CDATA[WARNING: +- file : log-formatter-test.cpp +- line : 46 +- message: condition 2>3 is not satisfied [2 <= 3] + +MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case 1 almost good test case inside/almost_good_foo did not check any assertions + +]]></system-out> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="0" skipped="0" errors="0" failures="0" id="0" name="1_almost_good_test_case_inside" time="0.1234"> +<testcase assertions="0" name="almost_good_foo" time="0.1234"> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 2 test cases... +xxx/log-formatter-test.cpp:218: Entering test suite "2 test cases inside" +xxx/log-formatter-test.cpp:219: Entering test case "good_foo" +Test case Fake Test Suite Hierarchy/2 test cases inside/good_foo did not check any assertions +xxx/log-formatter-test.cpp:219: Leaving test case "good_foo" +xxx/log-formatter-test.cpp:220: Entering test case "bad_foo" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": non sense +xxx/log-formatter-test.cpp:220: Leaving test case "bad_foo" +xxx/log-formatter-test.cpp:218: Leaving test suite "2 test cases inside" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="2 test cases inside" file="xxx/log-formatter-test.cpp" line="218"><TestCase name="good_foo" file="xxx/log-formatter-test.cpp" line="219"><Message file="boost.test framework" line="0"><![CDATA[Test case Fake Test Suite Hierarchy/2 test cases inside/good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="bad_foo" file="xxx/log-formatter-test.cpp" line="220"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="2" skipped="0" errors="0" failures="1" id="0" name="2_test_cases_inside" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Fake Test Suite Hierarchy/2 test cases inside/good_foo did not check any assertions + +]]></system-out> +</testcase> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/2 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 220 +]]></system-err> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="2" skipped="0" errors="0" failures="1" id="0" name="2_test_cases_inside" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +</testcase> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/2 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 220 +]]></system-err> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 3 test cases... +xxx/log-formatter-test.cpp:222: Entering test suite "3 test cases inside" +xxx/log-formatter-test.cpp:223: Entering test case "bad_foo" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/3 test cases inside/bad_foo": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/3 test cases inside/bad_foo": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/3 test cases inside/bad_foo": non sense +xxx/log-formatter-test.cpp:223: Leaving test case "bad_foo" +xxx/log-formatter-test.cpp:224: Entering test case "very_bad_foo" +xxx/log-formatter-test.cpp:64: fatal error: in "Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo": very_bad_foo is fatal +Failure occurred in a following context: + some context +xxx/log-formatter-test.cpp:224: Leaving test case "very_bad_foo" +xxx/log-formatter-test.cpp:226: Test case "Fake Test Suite Hierarchy/3 test cases inside/bad_foo2" is skipped because dependency test case "Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo" has failed +xxx/log-formatter-test.cpp:222: Leaving test suite "3 test cases inside" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="3 test cases inside" file="xxx/log-formatter-test.cpp" line="222"><TestCase name="bad_foo" file="xxx/log-formatter-test.cpp" line="223"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="very_bad_foo" file="xxx/log-formatter-test.cpp" line="224"><FatalError file="xxx/log-formatter-test.cpp" line="64"><![CDATA[very_bad_foo is fatal]]><Context><Frame><![CDATA[some context]]></Frame></Context></FatalError><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="bad_foo2" skipped="yes" reason="dependency test case "Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo" has failed"/></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="2" skipped="1" errors="1" failures="1" id="0" name="3_test_cases_inside" time="0.1234"> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/3 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 223 +]]></system-err> +</testcase> +<testcase assertions="1" name="very_bad_foo" time="0.1234"> +<failure message="failure" type="fatal error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 64 +- message: very_bad_foo is fatal +- context: + - 'some context' + + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo +- file: log-formatter-test.cpp +- line: 224 +]]></system-err> +</testcase> +<testcase assertions="0" name="bad_foo2" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/bad_foo2' +- reason: 'dependency test case "Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo" has failed']]></system-out> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="2" skipped="1" errors="1" failures="1" id="0" name="3_test_cases_inside" time="0.1234"> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/3 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 223 +]]></system-err> +</testcase> +<testcase assertions="1" name="very_bad_foo" time="0.1234"> +<failure message="failure" type="fatal error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 64 +- message: very_bad_foo is fatal +- context: + - 'some context' + + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo +- file: log-formatter-test.cpp +- line: 224 +]]></system-err> +</testcase> +<testcase assertions="0" name="bad_foo2" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/bad_foo2' +- reason: 'dependency test case "Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo" has failed']]></system-out> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 4 test cases... +xxx/log-formatter-test.cpp:230: Entering test suite "4 test cases inside" +xxx/log-formatter-test.cpp:231: Entering test case "bad_foo" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo": non sense +xxx/log-formatter-test.cpp:231: Leaving test case "bad_foo" +xxx/log-formatter-test.cpp:232: Entering test case "very_bad_foo" +xxx/log-formatter-test.cpp:64: fatal error: in "Fake Test Suite Hierarchy/4 test cases inside/very_bad_foo": very_bad_foo is fatal +Failure occurred in a following context: + some context +xxx/log-formatter-test.cpp:232: Leaving test case "very_bad_foo" +xxx/log-formatter-test.cpp:233: Entering test case "very_bad_exception" +xxx/log-formatter-test.cpp:73: error: in "Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +unknown location:0: fatal error: in "Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception": unknown type +xxx/log-formatter-test.cpp:73: last checkpoint +Failure occurred in a following context: + exception context should be shown +xxx/log-formatter-test.cpp:233: Leaving test case "very_bad_exception" +xxx/log-formatter-test.cpp:234: Entering test case "bad_foo2" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo2": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo2": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo2": non sense +xxx/log-formatter-test.cpp:234: Leaving test case "bad_foo2" +xxx/log-formatter-test.cpp:230: Leaving test suite "4 test cases inside" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="4 test cases inside" file="xxx/log-formatter-test.cpp" line="230"><TestCase name="bad_foo" file="xxx/log-formatter-test.cpp" line="231"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="very_bad_foo" file="xxx/log-formatter-test.cpp" line="232"><FatalError file="xxx/log-formatter-test.cpp" line="64"><![CDATA[very_bad_foo is fatal]]><Context><Frame><![CDATA[some context]]></Frame></Context></FatalError><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="very_bad_exception" file="xxx/log-formatter-test.cpp" line="233"><Error file="xxx/log-formatter-test.cpp" line="73"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Exception file="unknown location" line="0"><![CDATA[unknown type]]><LastCheckpoint file="xxx/log-formatter-test.cpp" line="73"><![CDATA[]]></LastCheckpoint><Context><Frame><![CDATA[exception context should be shown]]></Frame></Context></Exception><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="bad_foo2" file="xxx/log-formatter-test.cpp" line="234"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="4" skipped="0" errors="2" failures="2" id="0" name="4_test_cases_inside" time="0.1234"> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 231 +]]></system-err> +</testcase> +<testcase assertions="1" name="very_bad_foo" time="0.1234"> +<failure message="failure" type="fatal error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 64 +- message: very_bad_foo is fatal +- context: + - 'some context' + + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_foo +- file: log-formatter-test.cpp +- line: 232 +]]></system-err> +</testcase> +<testcase assertions="2" name="very_bad_exception" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 73 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><error message="unexpected exception" type="uncaught exception"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +unknown type +------------------------------------- + +Last checkpoint: +- message: "" +- file: log-formatter-test.cpp +- line: 73 + + +CONTEXT: +- 'exception context should be shown' +]]></error><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception +- file: log-formatter-test.cpp +- line: 233 +]]></system-err> +</testcase> +<testcase assertions="4" name="bad_foo2" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo2 +- file: log-formatter-test.cpp +- line: 234 +]]></system-err> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="4" skipped="0" errors="2" failures="2" id="0" name="4_test_cases_inside" time="0.1234"> +<testcase assertions="4" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 231 +]]></system-err> +</testcase> +<testcase assertions="1" name="very_bad_foo" time="0.1234"> +<failure message="failure" type="fatal error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 64 +- message: very_bad_foo is fatal +- context: + - 'some context' + + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_foo +- file: log-formatter-test.cpp +- line: 232 +]]></system-err> +</testcase> +<testcase assertions="2" name="very_bad_exception" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 73 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><error message="unexpected exception" type="uncaught exception"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +unknown type +------------------------------------- + +Last checkpoint: +- message: "" +- file: log-formatter-test.cpp +- line: 73 + + +CONTEXT: +- 'exception context should be shown' +]]></error><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception +- file: log-formatter-test.cpp +- line: 233 +]]></system-err> +</testcase> +<testcase assertions="4" name="bad_foo2" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo2 +- file: log-formatter-test.cpp +- line: 234 +]]></system-err> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 11 test cases... +xxx/log-formatter-test.cpp:236: Entering test suite "Fake Test Suite Hierarchy" +xxx/log-formatter-test.cpp:207: Test suite "Fake Test Suite Hierarchy/0 test cases inside" is skipped because disabled +xxx/log-formatter-test.cpp:209: Entering test suite "1 test cases inside" +xxx/log-formatter-test.cpp:210: Entering test case "good_foo" +Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions +xxx/log-formatter-test.cpp:210: Leaving test case "good_foo" +xxx/log-formatter-test.cpp:269: Entering test case "bad_foo" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/1 test cases inside/bad_foo": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/1 test cases inside/bad_foo": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/1 test cases inside/bad_foo": non sense +xxx/log-formatter-test.cpp:269: Leaving test case "bad_foo" +xxx/log-formatter-test.cpp:209: Leaving test suite "1 test cases inside" +xxx/log-formatter-test.cpp:218: Entering test suite "2 test cases inside" +xxx/log-formatter-test.cpp:219: Entering test case "good_foo" +Test case Fake Test Suite Hierarchy/2 test cases inside/good_foo did not check any assertions +xxx/log-formatter-test.cpp:219: Leaving test case "good_foo" +xxx/log-formatter-test.cpp:220: Entering test case "bad_foo" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/2 test cases inside/bad_foo": non sense +xxx/log-formatter-test.cpp:220: Leaving test case "bad_foo" +xxx/log-formatter-test.cpp:218: Leaving test suite "2 test cases inside" +xxx/log-formatter-test.cpp:230: Entering test suite "4 test cases inside" +xxx/log-formatter-test.cpp:231: Entering test case "bad_foo" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo": non sense +xxx/log-formatter-test.cpp:231: Leaving test case "bad_foo" +xxx/log-formatter-test.cpp:232: Entering test case "very_bad_foo" +xxx/log-formatter-test.cpp:64: fatal error: in "Fake Test Suite Hierarchy/4 test cases inside/very_bad_foo": very_bad_foo is fatal +Failure occurred in a following context: + some context +xxx/log-formatter-test.cpp:232: Leaving test case "very_bad_foo" +xxx/log-formatter-test.cpp:233: Entering test case "very_bad_exception" +xxx/log-formatter-test.cpp:73: error: in "Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +unknown location:0: fatal error: in "Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception": unknown type +xxx/log-formatter-test.cpp:73: last checkpoint +Failure occurred in a following context: + exception context should be shown +xxx/log-formatter-test.cpp:233: Leaving test case "very_bad_exception" +xxx/log-formatter-test.cpp:234: Entering test case "bad_foo2" +xxx/log-formatter-test.cpp:50: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo2": +this is a message +xxx/log-formatter-test.cpp:53: info: check true has passed +xxx/log-formatter-test.cpp:57: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo2": with some message +Failure occurred in a following context: + Context value=something + Context value2=something different +xxx/log-formatter-test.cpp:59: error: in "Fake Test Suite Hierarchy/4 test cases inside/bad_foo2": non sense +xxx/log-formatter-test.cpp:234: Leaving test case "bad_foo2" +xxx/log-formatter-test.cpp:230: Leaving test suite "4 test cases inside" +xxx/log-formatter-test.cpp:222: Test suite "Fake Test Suite Hierarchy/3 test cases inside" is skipped because dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed +xxx/log-formatter-test.cpp:236: Leaving test suite "Fake Test Suite Hierarchy" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="Fake Test Suite Hierarchy" file="xxx/log-formatter-test.cpp" line="236"><TestSuite name="0 test cases inside" skipped="yes" reason="disabled"/><TestSuite name="1 test cases inside" file="xxx/log-formatter-test.cpp" line="209"><TestCase name="good_foo" file="xxx/log-formatter-test.cpp" line="210"><Message file="boost.test framework" line="0"><![CDATA[Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="bad_foo" file="xxx/log-formatter-test.cpp" line="269"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase></TestSuite><TestSuite name="2 test cases inside" file="xxx/log-formatter-test.cpp" line="218"><TestCase name="good_foo" file="xxx/log-formatter-test.cpp" line="219"><Message file="boost.test framework" line="0"><![CDATA[Test case Fake Test Suite Hierarchy/2 test cases inside/good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="bad_foo" file="xxx/log-formatter-test.cpp" line="220"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase></TestSuite><TestSuite name="4 test cases inside" file="xxx/log-formatter-test.cpp" line="230"><TestCase name="bad_foo" file="xxx/log-formatter-test.cpp" line="231"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="very_bad_foo" file="xxx/log-formatter-test.cpp" line="232"><FatalError file="xxx/log-formatter-test.cpp" line="64"><![CDATA[very_bad_foo is fatal]]><Context><Frame><![CDATA[some context]]></Frame></Context></FatalError><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="very_bad_exception" file="xxx/log-formatter-test.cpp" line="233"><Error file="xxx/log-formatter-test.cpp" line="73"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Exception file="unknown location" line="0"><![CDATA[unknown type]]><LastCheckpoint file="xxx/log-formatter-test.cpp" line="73"><![CDATA[]]></LastCheckpoint><Context><Frame><![CDATA[exception context should be shown]]></Frame></Context></Exception><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="bad_foo2" file="xxx/log-formatter-test.cpp" line="234"><Error file="xxx/log-formatter-test.cpp" line="50"><![CDATA[]]></Error><Message file="xxx/log-formatter-test.cpp" line="52"><![CDATA[this is a message]]></Message><Info file="xxx/log-formatter-test.cpp" line="53"><![CDATA[check true has passed]]></Info><Error file="xxx/log-formatter-test.cpp" line="57"><![CDATA[with some message]]><Context><Frame><![CDATA[Context value=something]]></Frame><Frame><![CDATA[Context value2=something different]]></Frame></Context></Error><Error file="xxx/log-formatter-test.cpp" line="59"><![CDATA[non sense]]></Error><TestingTime>ZZZ</TestingTime></TestCase></TestSuite><TestSuite name="3 test cases inside" skipped="yes" reason="dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed"/></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="8" skipped="3" errors="2" failures="4" id="0" name="Fake_Test_Suite_Hierarchy" time="0.1234"> +<testcase assertions="0" classname="1_test_cases_inside" name="good_foo" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Fake Test Suite Hierarchy/1 test cases inside/good_foo did not check any assertions + +]]></system-out> +</testcase> +<testcase assertions="4" classname="1_test_cases_inside" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/1 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 269 +]]></system-err> +</testcase> +<testcase assertions="0" classname="2_test_cases_inside" name="good_foo" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Fake Test Suite Hierarchy/2 test cases inside/good_foo did not check any assertions + +]]></system-out> +</testcase> +<testcase assertions="4" classname="2_test_cases_inside" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/2 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 220 +]]></system-err> +</testcase> +<testcase assertions="0" classname="3_test_cases_inside" name="bad_foo" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/bad_foo' +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside' +- reason: 'dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed']]></system-out> +</testcase> +<testcase assertions="0" classname="3_test_cases_inside" name="very_bad_foo" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo' +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside' +- reason: 'dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed']]></system-out> +</testcase> +<testcase assertions="0" classname="3_test_cases_inside" name="bad_foo2" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/bad_foo2' +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside' +- reason: 'dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed']]></system-out> +</testcase> +<testcase assertions="4" classname="4_test_cases_inside" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 231 +]]></system-err> +</testcase> +<testcase assertions="1" classname="4_test_cases_inside" name="very_bad_foo" time="0.1234"> +<failure message="failure" type="fatal error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 64 +- message: very_bad_foo is fatal +- context: + - 'some context' + + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_foo +- file: log-formatter-test.cpp +- line: 232 +]]></system-err> +</testcase> +<testcase assertions="2" classname="4_test_cases_inside" name="very_bad_exception" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 73 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><error message="unexpected exception" type="uncaught exception"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +unknown type +------------------------------------- + +Last checkpoint: +- message: "" +- file: log-formatter-test.cpp +- line: 73 + + +CONTEXT: +- 'exception context should be shown' +]]></error><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception +- file: log-formatter-test.cpp +- line: 233 +]]></system-err> +</testcase> +<testcase assertions="4" classname="4_test_cases_inside" name="bad_foo2" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-out><![CDATA[MESSAGE: +- file : log-formatter-test.cpp +- line : 52 +- message: this is a message + +INFO: +- file : log-formatter-test.cpp +- line : 53 +- message: check true has passed + +]]></system-out> +<system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo2 +- file: log-formatter-test.cpp +- line: 234 +]]></system-err> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="8" skipped="3" errors="2" failures="4" id="0" name="Fake_Test_Suite_Hierarchy" time="0.1234"> +<testcase assertions="0" classname="1_test_cases_inside" name="good_foo" time="0.1234"> +</testcase> +<testcase assertions="4" classname="1_test_cases_inside" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/1 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 269 +]]></system-err> +</testcase> +<testcase assertions="0" classname="2_test_cases_inside" name="good_foo" time="0.1234"> +</testcase> +<testcase assertions="4" classname="2_test_cases_inside" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/2 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 220 +]]></system-err> +</testcase> +<testcase assertions="0" classname="3_test_cases_inside" name="bad_foo" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/bad_foo' +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside' +- reason: 'dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed']]></system-out> +</testcase> +<testcase assertions="0" classname="3_test_cases_inside" name="very_bad_foo" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/very_bad_foo' +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside' +- reason: 'dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed']]></system-out> +</testcase> +<testcase assertions="0" classname="3_test_cases_inside" name="bad_foo2" time="0.1234"> +<skipped/> +<system-out><![CDATA[Test case disabled because of the following chain of decision: +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside/bad_foo2' +- disabled test unit: 'Fake Test Suite Hierarchy/3 test cases inside' +- reason: 'dependency test suite "Fake Test Suite Hierarchy/1 test cases inside" has failed']]></system-out> +</testcase> +<testcase assertions="4" classname="4_test_cases_inside" name="bad_foo" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo +- file: log-formatter-test.cpp +- line: 231 +]]></system-err> +</testcase> +<testcase assertions="1" classname="4_test_cases_inside" name="very_bad_foo" time="0.1234"> +<failure message="failure" type="fatal error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 64 +- message: very_bad_foo is fatal +- context: + - 'some context' + + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_foo +- file: log-formatter-test.cpp +- line: 232 +]]></system-err> +</testcase> +<testcase assertions="2" classname="4_test_cases_inside" name="very_bad_exception" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 73 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><error message="unexpected exception" type="uncaught exception"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +unknown type +------------------------------------- + +Last checkpoint: +- message: "" +- file: log-formatter-test.cpp +- line: 73 + + +CONTEXT: +- 'exception context should be shown' +]]></error><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/very_bad_exception +- file: log-formatter-test.cpp +- line: 233 +]]></system-err> +</testcase> +<testcase assertions="4" classname="4_test_cases_inside" name="bad_foo2" time="0.1234"> +<failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 50 +- message: + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 57 +- message: with some message +- context: + - 'Context value=something' + - 'Context value2=something different' + + +]]></failure><failure message="failure" type="assertion error"><![CDATA[ +ASSERTION FAILURE: +- file : log-formatter-test.cpp +- line : 59 +- message: non sense + +]]></failure><system-err><![CDATA[Failures detected in: +- test case: Fake Test Suite Hierarchy/4 test cases inside/bad_foo2 +- file: log-formatter-test.cpp +- line: 234 +]]></system-err> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 2 test cases... +xxx/log-formatter-test.cpp:243: Entering test suite "Timeout" +xxx/log-formatter-test.cpp:244: Entering test case "good_foo" +Test case Timeout/good_foo did not check any assertions +xxx/log-formatter-test.cpp:244: Leaving test case "good_foo" +xxx/log-formatter-test.cpp:245: Entering test case "timeout_foo" +unknown location:0: fatal error: in "Timeout/timeout_foo": fake timeout +xxx/log-formatter-test.cpp:245: Leaving test case "timeout_foo" +xxx/log-formatter-test.cpp:243: Leaving test suite "Timeout" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="Timeout" file="xxx/log-formatter-test.cpp" line="243"><TestCase name="good_foo" file="xxx/log-formatter-test.cpp" line="244"><Message file="boost.test framework" line="0"><![CDATA[Test case Timeout/good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="timeout_foo" file="xxx/log-formatter-test.cpp" line="245"><Exception file="unknown location" line="0"><![CDATA[fake timeout]]></Exception><TestingTime>ZZZ</TestingTime></TestCase></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="1" skipped="0" errors="0" failures="1" id="0" name="Timeout" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Timeout/good_foo did not check any assertions + +]]></system-out> +</testcase> +<testcase assertions="1" name="timeout_foo" time="0.1234"> +<error message="unexpected exception" type="execution timeout"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +fake timeout +-------------------------------------]]></error><system-err><![CDATA[Failures detected in: +- test case: Timeout/timeout_foo +- file: log-formatter-test.cpp +- line: 245 +]]></system-err> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="1" skipped="0" errors="0" failures="1" id="0" name="Timeout" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +</testcase> +<testcase assertions="1" name="timeout_foo" time="0.1234"> +<error message="unexpected exception" type="execution timeout"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +fake timeout +-------------------------------------]]></error><system-err><![CDATA[Failures detected in: +- test case: Timeout/timeout_foo +- file: log-formatter-test.cpp +- line: 245 +]]></system-err> +</testcase> +</testsuite> +* 1-format ******************************************************************* +Running 4 test cases... +xxx/log-formatter-test.cpp:248: Entering test suite "Timeout-nested" +xxx/log-formatter-test.cpp:249: Entering test case "good_foo" +Test case Timeout-nested/good_foo did not check any assertions +xxx/log-formatter-test.cpp:249: Leaving test case "good_foo" +xxx/log-formatter-test.cpp:250: Entering test suite "Timeout" +xxx/log-formatter-test.cpp:251: Entering test case "good_foo" +Test case Timeout-nested/Timeout/good_foo did not check any assertions +xxx/log-formatter-test.cpp:251: Leaving test case "good_foo" +xxx/log-formatter-test.cpp:252: Entering test case "timeout_foo" +unknown location:0: fatal error: in "Timeout-nested/Timeout/timeout_foo": fake timeout +xxx/log-formatter-test.cpp:252: Leaving test case "timeout_foo" +xxx/log-formatter-test.cpp:250: Leaving test suite "Timeout" +xxx/log-formatter-test.cpp:255: Entering test case "good_foo2" +Test case Timeout-nested/good_foo2 did not check any assertions +xxx/log-formatter-test.cpp:255: Leaving test case "good_foo2" +xxx/log-formatter-test.cpp:248: Leaving test suite "Timeout-nested" + +* 2-format ******************************************************************* +<TestLog><TestSuite name="Timeout-nested" file="xxx/log-formatter-test.cpp" line="248"><TestCase name="good_foo" file="xxx/log-formatter-test.cpp" line="249"><Message file="boost.test framework" line="0"><![CDATA[Test case Timeout-nested/good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase><TestSuite name="Timeout" file="xxx/log-formatter-test.cpp" line="250"><TestCase name="good_foo" file="xxx/log-formatter-test.cpp" line="251"><Message file="boost.test framework" line="0"><![CDATA[Test case Timeout-nested/Timeout/good_foo did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase><TestCase name="timeout_foo" file="xxx/log-formatter-test.cpp" line="252"><Exception file="unknown location" line="0"><![CDATA[fake timeout]]></Exception><TestingTime>ZZZ</TestingTime></TestCase></TestSuite><TestCase name="good_foo2" file="xxx/log-formatter-test.cpp" line="255"><Message file="boost.test framework" line="0"><![CDATA[Test case Timeout-nested/good_foo2 did not check any assertions]]></Message><TestingTime>ZZZ</TestingTime></TestCase></TestSuite></TestLog> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="3" skipped="0" errors="0" failures="1" id="0" name="Timeout-nested" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Timeout-nested/good_foo did not check any assertions + +]]></system-out> +</testcase> +<testcase assertions="0" classname="Timeout" name="good_foo" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Timeout-nested/Timeout/good_foo did not check any assertions + +]]></system-out> +</testcase> +<testcase assertions="1" classname="Timeout" name="timeout_foo" time="0.1234"> +<error message="unexpected exception" type="execution timeout"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +fake timeout +-------------------------------------]]></error><system-err><![CDATA[Failures detected in: +- test case: Timeout-nested/Timeout/timeout_foo +- file: log-formatter-test.cpp +- line: 252 +]]></system-err> +</testcase> +<testcase assertions="0" name="good_foo2" time="0.1234"> +<system-out><![CDATA[MESSAGE: +- file : boost.test framework +- line : 0 +- message: Test case Timeout-nested/good_foo2 did not check any assertions + +]]></system-out> +</testcase> +</testsuite> +* 3-format ******************************************************************* +<?xml version="1.0" encoding="UTF-8"?> +<testsuite tests="3" skipped="0" errors="0" failures="1" id="0" name="Timeout-nested" time="0.1234"> +<testcase assertions="0" name="good_foo" time="0.1234"> +</testcase> +<testcase assertions="0" classname="Timeout" name="good_foo" time="0.1234"> +</testcase> +<testcase assertions="1" classname="Timeout" name="timeout_foo" time="0.1234"> +<error message="unexpected exception" type="execution timeout"><![CDATA[ +UNCAUGHT EXCEPTION: +- file: unknown location +- line: 0 + + +EXCEPTION STACK TRACE: -------------- +fake timeout +-------------------------------------]]></error><system-err><![CDATA[Failures detected in: +- test case: Timeout-nested/Timeout/timeout_foo +- file: log-formatter-test.cpp +- line: 252 +]]></system-err> +</testcase> +<testcase assertions="0" name="good_foo2" time="0.1234"> +</testcase> +</testsuite> |