diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2018-10-15 17:47:42 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2018-12-06 18:29:47 +0000 |
commit | 7c7e007794fb6dc34c7c816732d2ba0a911e488c (patch) | |
tree | 9b4e8ece4b814ca4a975aed2db6ced30ee1531f1 /tests/auto/testlib/selftests/expected_watchdog.xunitxml | |
parent | c3e6551d4d6712668e5fc8e307b3425db80af96d (diff) |
Add a testlib selftest for the watchdog
Verify that it does cut in after the specified time has elapsed.
Task-number: QTPM-1385
Change-Id: Ib18e8d6af28339f79cca4d62b869287ce07b8cc1
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_watchdog.xunitxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_watchdog.xunitxml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_watchdog.xunitxml b/tests/auto/testlib/selftests/expected_watchdog.xunitxml new file mode 100644 index 0000000000..7e16ab2c34 --- /dev/null +++ b/tests/auto/testlib/selftests/expected_watchdog.xunitxml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<testsuite errors="1" failures="1" tests="2" name="tst_Watchdog"> + <properties> + <property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/> + <property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/> + <property value="" name="QtBuild"/> + </properties> + <testcase result="pass" name="initTestCase"/> + <testcase result="fail" name="delay"> + <!-- message="Test function timed out" type="qfatal" --> + <failure message="Received a fatal error." result="fail"/> + </testcase> + <system-err> +<![CDATA[Test function timed out]]> + </system-err> +</testsuite> |