qt5base-lts/tests/auto/testlib/selftests/expected_verifyexceptionthrown.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

31 lines
2.6 KiB
Plaintext

##teamcity[testSuiteStarted name='tst_VerifyExceptionThrown']
##teamcity[testStarted name='initTestCase()']
##teamcity[testFinished name='initTestCase()']
##teamcity[testStarted name='testCorrectStdTypes()']
##teamcity[testFinished name='testCorrectStdTypes()']
##teamcity[testStarted name='testCorrectStdExceptions()']
##teamcity[testFinished name='testCorrectStdExceptions()']
##teamcity[testStarted name='testCorrectMyExceptions()']
##teamcity[testFinished name='testCorrectMyExceptions()']
##teamcity[testStarted name='testFailInt()']
##teamcity[testFailed name='testFailInt()' message='Failure! |[Loc: tst_verifyexceptionthrown.cpp(120)|]' details='Expected exception of type double to be thrown but unknown exception caught']
##teamcity[testFinished name='testFailInt()']
##teamcity[testStarted name='testFailStdString()']
##teamcity[testFailed name='testFailStdString()' message='Failure! |[Loc: tst_verifyexceptionthrown.cpp(125)|]' details='Expected exception of type char* to be thrown but unknown exception caught']
##teamcity[testFinished name='testFailStdString()']
##teamcity[testStarted name='testFailStdRuntimeError()']
##teamcity[testFailed name='testFailStdRuntimeError()' message='Failure! |[Loc: tst_verifyexceptionthrown.cpp(130)|]' details='Expected exception of type std::runtime_error to be thrown but std::exception caught with message: logic error']
##teamcity[testFinished name='testFailStdRuntimeError()']
##teamcity[testStarted name='testFailMyException()']
##teamcity[testFailed name='testFailMyException()' message='Failure! |[Loc: tst_verifyexceptionthrown.cpp(135)|]' details='Expected exception of type MyBaseException to be thrown but std::exception caught with message: logic error']
##teamcity[testFinished name='testFailMyException()']
##teamcity[testStarted name='testFailMyDerivedException()']
##teamcity[testFailed name='testFailMyDerivedException()' message='Failure! |[Loc: tst_verifyexceptionthrown.cpp(140)|]' details='Expected exception of type std::runtime_error to be thrown but std::exception caught with message: MyDerivedException']
##teamcity[testFinished name='testFailMyDerivedException()']
##teamcity[testStarted name='testFailNoException()']
##teamcity[testFailed name='testFailNoException()' message='Failure! |[Loc: tst_verifyexceptionthrown.cpp(145)|]' details='Expected exception of type std::exception to be thrown but no exception caught']
##teamcity[testFinished name='testFailNoException()']
##teamcity[testStarted name='cleanupTestCase()']
##teamcity[testFinished name='cleanupTestCase()']
##teamcity[testSuiteFinished name='tst_VerifyExceptionThrown']