qt5base-lts/tests/auto/testlib/selftests/expected_subtest.teamcity
Borgar Ovsthus fbd6acedac Add TeamCity logging feature to testlib
This allows TeamCity to parse realtime test-results instead of using
post-build XML Report Processing. This does not support logging of
benchmarks.

[ChangeLog][QTest] Added a new logging mode that allow test-results to
be parsed on-the-fly when using Jetbrains TeamCity as CI-server. This
mode is enabled by using the -teamcity option on the command-line.

Change-Id: Ie730beb643043eb0f448f99abe6c0b5ac48aaf03
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-01-23 18:30:58 +00:00

32 lines
2.5 KiB
Plaintext

##teamcity[testSuiteStarted name='tst_Subtest']
##teamcity[testStarted name='initTestCase()']
##teamcity[testStdOut name='initTestCase()' out='QDEBUG: initTestCase initTestCase (null)']
##teamcity[testFinished name='initTestCase()']
##teamcity[testStarted name='test1()']
##teamcity[testStdOut name='test1()' out='QDEBUG: init test1 (null)|nQDEBUG: test1 test1 (null)|nQDEBUG: cleanup test1 (null)']
##teamcity[testFinished name='test1()']
##teamcity[testStarted name='test2(data0)']
##teamcity[testStdOut name='test2(data0)' out='QDEBUG: test2_data test2 (null)|nQDEBUG: test2_data end|nQDEBUG: init test2 data0|nQDEBUG: test2 test2 data0|nQDEBUG: test2 end|nQDEBUG: cleanup test2 data0']
##teamcity[testFinished name='test2(data0)']
##teamcity[testStarted name='test2(data1)']
##teamcity[testStdOut name='test2(data1)' out='QDEBUG: init test2 data1|nQDEBUG: test2 test2 data1|nQDEBUG: test2 end|nQDEBUG: cleanup test2 data1']
##teamcity[testFinished name='test2(data1)']
##teamcity[testStarted name='test2(data2)']
##teamcity[testStdOut name='test2(data2)' out='QDEBUG: init test2 data2|nQDEBUG: test2 test2 data2|nQDEBUG: test2 end|nQDEBUG: cleanup test2 data2']
##teamcity[testFinished name='test2(data2)']
##teamcity[testStarted name='test3(data0)']
##teamcity[testStdOut name='test3(data0)' out='QDEBUG: test3_data test3 (null)|nQDEBUG: test3_data end|nQDEBUG: init test3 data0|nQDEBUG: test2 test3 data0|nQDEBUG: test2 end|nQDEBUG: cleanup test3 data0']
##teamcity[testFinished name='test3(data0)']
##teamcity[testStarted name='test3(data1)']
##teamcity[testFailed name='test3(data1)' message='Failure! |[Loc: tst_subtest.cpp(146)|]' details='Compared values are not the same|n Actual (str) : "hello1"|n Expected (QString("hello0")): "hello0"']
##teamcity[testStdOut name='test3(data1)' out='QDEBUG: init test3 data1|nQDEBUG: test2 test3 data1']
##teamcity[testFinished name='test3(data1)']
##teamcity[testStarted name='test3(data2)']
##teamcity[testFailed name='test3(data2)' message='Failure! |[Loc: tst_subtest.cpp(146)|]' details='Compared values are not the same|n Actual (str) : "hello2"|n Expected (QString("hello0")): "hello0"']
##teamcity[testStdOut name='test3(data2)' out='QDEBUG: cleanup test3 data1|nQDEBUG: init test3 data2|nQDEBUG: test2 test3 data2']
##teamcity[testFinished name='test3(data2)']
##teamcity[testStarted name='cleanupTestCase()']
##teamcity[testStdOut name='cleanupTestCase()' out='QDEBUG: cleanup test3 data2|nQDEBUG: cleanupTestCase cleanupTestCase (null)']
##teamcity[testFinished name='cleanupTestCase()']
##teamcity[testSuiteFinished name='tst_Subtest']