summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_warnings.teamcity
diff options
context:
space:
mode:
authorBorgar Ovsthus <borgar.ovsthus@fmcti.com>2016-01-06 18:20:29 +0100
committerBorgar Øvsthus <borgar.ovsthus@fmcti.com>2016-01-23 18:30:58 +0000
commitfbd6acedac8e1f4ee624cb713055fcad1ceabf96 (patch)
tree37ab3e2e7ec82f5cd641c8ddfc38566b17b7fa72 /tests/auto/testlib/selftests/expected_warnings.teamcity
parent9eda09f511246720a8c4eff2bbb52bbfacc36f48 (diff)
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>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_warnings.teamcity')
-rw-r--r--tests/auto/testlib/selftests/expected_warnings.teamcity25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_warnings.teamcity b/tests/auto/testlib/selftests/expected_warnings.teamcity
new file mode 100644
index 0000000000..f3809a52ca
--- /dev/null
+++ b/tests/auto/testlib/selftests/expected_warnings.teamcity
@@ -0,0 +1,25 @@
+##teamcity[testSuiteStarted name='tst_Warnings']
+##teamcity[testStarted name='initTestCase()']
+##teamcity[testFinished name='initTestCase()']
+##teamcity[testStarted name='testWarnings()']
+##teamcity[testStdOut name='testWarnings()' out='QWARN: Warning|nQWARN: Warning|nQDEBUG: Debug|nQDEBUG: Debug|nQINFO: Info|nQINFO: Info|nQDEBUG: Baba|nQDEBUG: Baba|nQDEBUG: Bubublabla|nQWARN: Babablabla']
+##teamcity[testFinished name='testWarnings()']
+##teamcity[testStarted name='testMissingWarnings()']
+##teamcity[testFailed name='testMissingWarnings()' message='Failure!' details='Not all expected messages were received']
+##teamcity[testStdOut name='testMissingWarnings()' out='INFO: Did not receive message: "Warning0"|nINFO: Did not receive message: "Warning1"']
+##teamcity[testFinished name='testMissingWarnings()']
+##teamcity[testStarted name='testMissingWarningsRegularExpression()']
+##teamcity[testFailed name='testMissingWarningsRegularExpression()' message='Failure!' details='Not all expected messages were received']
+##teamcity[testStdOut name='testMissingWarningsRegularExpression()' out='INFO: Did not receive any message matching: "Warning\s\d"']
+##teamcity[testFinished name='testMissingWarningsRegularExpression()']
+##teamcity[testStarted name='testMissingWarningsWithData(first row)']
+##teamcity[testFailed name='testMissingWarningsWithData(first row)' message='Failure!' details='Not all expected messages were received']
+##teamcity[testStdOut name='testMissingWarningsWithData(first row)' out='INFO: Did not receive message: "Warning0"|nINFO: Did not receive message: "Warning1"']
+##teamcity[testFinished name='testMissingWarningsWithData(first row)']
+##teamcity[testStarted name='testMissingWarningsWithData(second row)']
+##teamcity[testFailed name='testMissingWarningsWithData(second row)' message='Failure!' details='Not all expected messages were received']
+##teamcity[testStdOut name='testMissingWarningsWithData(second row)' out='INFO: Did not receive message: "Warning0"|nINFO: Did not receive message: "Warning1"']
+##teamcity[testFinished name='testMissingWarningsWithData(second row)']
+##teamcity[testStarted name='cleanupTestCase()']
+##teamcity[testFinished name='cleanupTestCase()']
+##teamcity[testSuiteFinished name='tst_Warnings']