2019-11-01 09:28:02 +00:00
|
|
|
# Generated from qcssparser.pro.
|
|
|
|
|
|
|
|
if(NOT QT_FEATURE_private_tests)
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
## tst_qcssparser Test:
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
# Collect test data
|
|
|
|
list(APPEND test_data "testdata")
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_test(tst_qcssparser
|
2019-11-01 09:28:02 +00:00
|
|
|
SOURCES
|
|
|
|
tst_qcssparser.cpp
|
|
|
|
PUBLIC_LIBRARIES
|
|
|
|
Qt::Gui
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::GuiPrivate
|
2019-11-01 09:28:02 +00:00
|
|
|
Qt::Xml
|
|
|
|
TESTDATA ${test_data}
|
|
|
|
)
|
|
|
|
|
|
|
|
#### Keys ignored in scope 1:.:.:qcssparser.pro:<TRUE>:
|
|
|
|
# _REQUIREMENTS = "qtConfig(private_tests)"
|
|
|
|
|
|
|
|
## Scopes:
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
if(ANDROID)
|
|
|
|
# Resources:
|
|
|
|
set(testdata_resource_files
|
|
|
|
"testdata/scanner/comments/input"
|
|
|
|
"testdata/scanner/comments/output"
|
|
|
|
"testdata/scanner/comments2/input"
|
|
|
|
"testdata/scanner/comments2/output"
|
|
|
|
"testdata/scanner/comments3/input"
|
|
|
|
"testdata/scanner/comments3/output"
|
|
|
|
"testdata/scanner/comments4/input"
|
|
|
|
"testdata/scanner/comments4/output"
|
|
|
|
"testdata/scanner/quotedstring/input"
|
|
|
|
"testdata/scanner/quotedstring/output"
|
|
|
|
"testdata/scanner/simple/input"
|
|
|
|
"testdata/scanner/simple/output"
|
|
|
|
"testdata/scanner/unicode/input"
|
|
|
|
"testdata/scanner/unicode/output"
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(tst_qcssparser "testdata"
|
2019-11-01 09:28:02 +00:00
|
|
|
PREFIX
|
|
|
|
"/"
|
|
|
|
FILES
|
|
|
|
${testdata_resource_files}
|
|
|
|
)
|
|
|
|
endif()
|