diff options
author | Borgar Ovsthus <borgar.ovsthus@fmcti.com> | 2017-08-02 18:48:14 +0200 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2017-08-04 18:48:48 +0000 |
commit | 8f036562119dd35ce51dc9230304d893b906bd37 (patch) | |
tree | c8c916356ce7c7f008f1d57ae6365ceb9c14b209 /tests/auto/testlib/selftests/expected_xunit.teamcity | |
parent | 230c293f2089ac90e9373d8f92777b3fdb193b6a (diff) |
Add flowId to messages when logging in TeamCity format
Added flowId='name' to each message when using TeamCity logging format.
This is necessary to distinguish separate processes running in parallel.
[ChangeLog][QtTest] Added flowId to messages when logging in TeamCity
format. FlowId is used to distinguish logging from multiple processes
running in parallel.
Change-Id: I7f5046c1058ff02770404caa2c9b3a5398f97f6b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_xunit.teamcity')
-rw-r--r-- | tests/auto/testlib/selftests/expected_xunit.teamcity | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/auto/testlib/selftests/expected_xunit.teamcity b/tests/auto/testlib/selftests/expected_xunit.teamcity index e381a081a8..7f8ea3de3b 100644 --- a/tests/auto/testlib/selftests/expected_xunit.teamcity +++ b/tests/auto/testlib/selftests/expected_xunit.teamcity @@ -1,26 +1,26 @@ -##teamcity[testSuiteStarted name='tst_Xunit'] -##teamcity[testStarted name='initTestCase()'] -##teamcity[testFinished name='initTestCase()'] -##teamcity[testStarted name='testFunc1()'] -##teamcity[testStdOut name='testFunc1()' out='WARNING |[Loc: tst_xunit.cpp(59)|]: just a QWARN() !'] -##teamcity[testFinished name='testFunc1()'] -##teamcity[testStarted name='testFunc2()'] -##teamcity[testFailed name='testFunc2()' message='Failure! |[Loc: tst_xunit.cpp(66)|]' details='Compared values are not the same|n Actual (2): 2|n Expected (3): 3'] -##teamcity[testStdOut name='testFunc2()' out='QDEBUG: a qDebug() call with comment-ending stuff -->'] -##teamcity[testFinished name='testFunc2()'] -##teamcity[testIgnored name='testFunc3()' message='skipping this function! |[Loc: tst_xunit.cpp(71)|]'] -##teamcity[testStarted name='testFunc4()'] -##teamcity[testFailed name='testFunc4()' message='Failure! |[Loc: tst_xunit.cpp(76)|]' details='a forced failure!'] -##teamcity[testFinished name='testFunc4()'] -##teamcity[testStarted name='testFunc5()'] -##teamcity[testStdOut name='testFunc5()' out='XFAIL |[Loc: tst_xunit.cpp(90)|]: this failure is expected'] -##teamcity[testFinished name='testFunc5()'] -##teamcity[testStarted name='testFunc6()'] -##teamcity[testStdOut name='testFunc6()' out='XFAIL |[Loc: tst_xunit.cpp(96)|]: this failure is also expected'] -##teamcity[testFinished name='testFunc6()'] -##teamcity[testStarted name='testFunc7()'] -##teamcity[testFailed name='testFunc7()' message='Failure! |[Loc: tst_xunit.cpp(102)|]' details='|'true|' returned TRUE unexpectedly. ()'] -##teamcity[testFinished name='testFunc7()'] -##teamcity[testStarted name='cleanupTestCase()'] -##teamcity[testFinished name='cleanupTestCase()'] -##teamcity[testSuiteFinished name='tst_Xunit'] +##teamcity[testSuiteStarted name='tst_Xunit' flowId='tst_Xunit'] +##teamcity[testStarted name='initTestCase()' flowId='tst_Xunit'] +##teamcity[testFinished name='initTestCase()' flowId='tst_Xunit'] +##teamcity[testStarted name='testFunc1()' flowId='tst_Xunit'] +##teamcity[testStdOut name='testFunc1()' out='WARNING |[Loc: tst_xunit.cpp(59)|]: just a QWARN() !' flowId='tst_Xunit'] +##teamcity[testFinished name='testFunc1()' flowId='tst_Xunit'] +##teamcity[testStarted name='testFunc2()' flowId='tst_Xunit'] +##teamcity[testFailed name='testFunc2()' message='Failure! |[Loc: tst_xunit.cpp(66)|]' details='Compared values are not the same|n Actual (2): 2|n Expected (3): 3' flowId='tst_Xunit'] +##teamcity[testStdOut name='testFunc2()' out='QDEBUG: a qDebug() call with comment-ending stuff -->' flowId='tst_Xunit'] +##teamcity[testFinished name='testFunc2()' flowId='tst_Xunit'] +##teamcity[testIgnored name='testFunc3()' message='skipping this function! |[Loc: tst_xunit.cpp(71)|]' flowId='tst_Xunit'] +##teamcity[testStarted name='testFunc4()' flowId='tst_Xunit'] +##teamcity[testFailed name='testFunc4()' message='Failure! |[Loc: tst_xunit.cpp(76)|]' details='a forced failure!' flowId='tst_Xunit'] +##teamcity[testFinished name='testFunc4()' flowId='tst_Xunit'] +##teamcity[testStarted name='testFunc5()' flowId='tst_Xunit'] +##teamcity[testStdOut name='testFunc5()' out='XFAIL |[Loc: tst_xunit.cpp(90)|]: this failure is expected' flowId='tst_Xunit'] +##teamcity[testFinished name='testFunc5()' flowId='tst_Xunit'] +##teamcity[testStarted name='testFunc6()' flowId='tst_Xunit'] +##teamcity[testStdOut name='testFunc6()' out='XFAIL |[Loc: tst_xunit.cpp(96)|]: this failure is also expected' flowId='tst_Xunit'] +##teamcity[testFinished name='testFunc6()' flowId='tst_Xunit'] +##teamcity[testStarted name='testFunc7()' flowId='tst_Xunit'] +##teamcity[testFailed name='testFunc7()' message='Failure! |[Loc: tst_xunit.cpp(102)|]' details='|'true|' returned TRUE unexpectedly. ()' flowId='tst_Xunit'] +##teamcity[testFinished name='testFunc7()' flowId='tst_Xunit'] +##teamcity[testStarted name='cleanupTestCase()' flowId='tst_Xunit'] +##teamcity[testFinished name='cleanupTestCase()' flowId='tst_Xunit'] +##teamcity[testSuiteFinished name='tst_Xunit' flowId='tst_Xunit'] |