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.lightxml | |
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.lightxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_watchdog.lightxml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_watchdog.lightxml b/tests/auto/testlib/selftests/expected_watchdog.lightxml new file mode 100644 index 0000000000..1070324f2a --- /dev/null +++ b/tests/auto/testlib/selftests/expected_watchdog.lightxml @@ -0,0 +1,19 @@ +<Environment> + <QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion> + <QtBuild/> + <QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion> +</Environment> +<TestFunction name="initTestCase"> +<Incident type="pass" file="" line="0" /> + <Duration msecs="0"/> +</TestFunction> +<TestFunction name="delay"> +<Message type="qfatal" file="" line="0"> + <Description><![CDATA[Test function timed out]]></Description> +</Message> +<Incident type="fail" file="Unknown file" line="0"> + <Description><![CDATA[Received a fatal error.]]></Description> +</Incident> + <Duration msecs="0"/> +</TestFunction> +<Duration msecs="0"/> |