2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2019-10-09 14:54:42 +00:00
|
|
|
#####################################################################
|
|
|
|
## 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")
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_test(tst_qdom
|
2019-10-09 14:54:42 +00:00
|
|
|
SOURCES
|
|
|
|
tst_qdom.cpp
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-10-09 14:54:42 +00:00
|
|
|
Qt::Xml
|
|
|
|
TESTDATA ${test_data}
|
|
|
|
)
|