summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_failfetchtype.lightxml
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-10-11 17:26:57 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2018-12-06 18:29:22 +0000
commitdfcb7fce358269bb71e701efe17e5b3beddac951 (patch)
treecb8a33f4ba718adb91738c4d588e22fd5c7758f9 /tests/auto/testlib/selftests/expected_failfetchtype.lightxml
parente61028281f44b0434c8e792235417cae3d1f49b0 (diff)
Test that mismatches of datatype in test data columns are rejected
One test for bad data for the column, another for a bad QFETCH. Incidentally extend blacklist testing by blacklisting them. Reorganise a QEMU condition that needed extended as part of this. Task-number: QTPM-1385 Change-Id: Iac72ada19760321c5c9264ddfff7740d1fdd0700 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_failfetchtype.lightxml')
-rw-r--r--tests/auto/testlib/selftests/expected_failfetchtype.lightxml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/expected_failfetchtype.lightxml b/tests/auto/testlib/selftests/expected_failfetchtype.lightxml
new file mode 100644
index 0000000000..f7c84a1876
--- /dev/null
+++ b/tests/auto/testlib/selftests/expected_failfetchtype.lightxml
@@ -0,0 +1,21 @@
+<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="fetch">
+<Message type="qfatal" file="" line="0">
+ <DataTag><![CDATA[bool]]></DataTag>
+ <Description><![CDATA[Requested type 'QString' does not match available type 'bool'.]]></Description>
+</Message>
+<Incident type="fail" file="Unknown file" line="0">
+ <DataTag><![CDATA[bool]]></DataTag>
+ <Description><![CDATA[Received a fatal error.]]></Description>
+</Incident>
+ <Duration msecs="0"/>
+</TestFunction>
+<Duration msecs="0"/>