summaryrefslogtreecommitdiffstats
path: root/tests/auto/xml/dom
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-10-09 16:54:42 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-10-10 09:02:43 +0000
commitf863bf7d6452740e131e3e846922d57cab2173f6 (patch)
tree097b2d3ac61d5f4099b46299f80c15a02f543ad4 /tests/auto/xml/dom
parent3a9bca6574012c01d37180a0f4851686c483c240 (diff)
Add XML tests
Initial conversion of XML tests. Change-Id: I47256d4d87dad106b04be2c2e1abc9ef070be973 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/xml/dom')
-rw-r--r--tests/auto/xml/dom/CMakeLists.txt3
-rw-r--r--tests/auto/xml/dom/qdom/CMakeLists.txt21
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/auto/xml/dom/CMakeLists.txt b/tests/auto/xml/dom/CMakeLists.txt
new file mode 100644
index 0000000000..08a7621e88
--- /dev/null
+++ b/tests/auto/xml/dom/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from dom.pro.
+
+add_subdirectory(qdom)
diff --git a/tests/auto/xml/dom/qdom/CMakeLists.txt b/tests/auto/xml/dom/qdom/CMakeLists.txt
new file mode 100644
index 0000000000..be70ec08cc
--- /dev/null
+++ b/tests/auto/xml/dom/qdom/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qdom.pro.
+
+#####################################################################
+## tst_qdom Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ testdata/*)
+list(APPEND test_data ${test_data_glob})
+list(APPEND test_data "doubleNamespaces.xml")
+list(APPEND test_data "umlaut.xml")
+
+add_qt_test(tst_qdom
+ SOURCES
+ tst_qdom.cpp
+ PUBLIC_LIBRARIES
+ Qt::Xml
+ TESTDATA ${test_data}
+)