8f03656211
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>
27 lines
2.2 KiB
Plaintext
27 lines
2.2 KiB
Plaintext
##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']
|