mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 16:55:25 +08:00
qt 6.5.1 original
This commit is contained in:
22
tests/auto/gui/text/qcssparser/CMakeLists.txt
Normal file
22
tests/auto/gui/text/qcssparser/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## tst_qcssparser Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
file(GLOB_RECURSE test_data
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
testdata/*
|
||||
)
|
||||
|
||||
qt_internal_add_test(tst_qcssparser
|
||||
SOURCES
|
||||
tst_qcssparser.cpp
|
||||
LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
Qt::Xml
|
||||
TESTDATA ${test_data}
|
||||
)
|
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments/input
vendored
Normal file
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments/input
vendored
Normal file
@ -0,0 +1 @@
|
||||
/* let's see if comments actually work *//*foo*/ "it /*should be preserved \"in strings*/ though"
|
4
tests/auto/gui/text/qcssparser/testdata/scanner/comments/output
vendored
Normal file
4
tests/auto/gui/text/qcssparser/testdata/scanner/comments/output
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
S|/* let's see if comments actually work */
|
||||
S|/*foo*/
|
||||
S|
|
||||
STRING|"it /*should be preserved "in strings*/ though"
|
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments2/input
vendored
Normal file
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments2/input
vendored
Normal file
@ -0,0 +1 @@
|
||||
/*foo*/{/*foo*/+/*foo*/>/*foo*/,/*foo*/}/*foo*/-
|
12
tests/auto/gui/text/qcssparser/testdata/scanner/comments2/output
vendored
Normal file
12
tests/auto/gui/text/qcssparser/testdata/scanner/comments2/output
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
S|/*foo*/
|
||||
LBRACE|{
|
||||
S|/*foo*/
|
||||
PLUS|+
|
||||
S|/*foo*/
|
||||
GREATER|>
|
||||
S|/*foo*/
|
||||
COMMA|,
|
||||
S|/*foo*/
|
||||
RBRACE|}
|
||||
S|/*foo*/
|
||||
MINUS|-
|
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments3/input
vendored
Normal file
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments3/input
vendored
Normal file
@ -0,0 +1 @@
|
||||
url(/*comment*/"www.kde.org")
|
4
tests/auto/gui/text/qcssparser/testdata/scanner/comments3/output
vendored
Normal file
4
tests/auto/gui/text/qcssparser/testdata/scanner/comments3/output
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
FUNCTION|url(
|
||||
S|/*comment*/
|
||||
STRING|"www.kde.org"
|
||||
RPAREN|)
|
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments4/input
vendored
Normal file
1
tests/auto/gui/text/qcssparser/testdata/scanner/comments4/input
vendored
Normal file
@ -0,0 +1 @@
|
||||
!/*hmm*/important
|
3
tests/auto/gui/text/qcssparser/testdata/scanner/comments4/output
vendored
Normal file
3
tests/auto/gui/text/qcssparser/testdata/scanner/comments4/output
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
EXCLAMATION_SYM|!
|
||||
S|/*hmm*/
|
||||
IDENT|important
|
1
tests/auto/gui/text/qcssparser/testdata/scanner/quotedstring/input
vendored
Normal file
1
tests/auto/gui/text/qcssparser/testdata/scanner/quotedstring/input
vendored
Normal file
@ -0,0 +1 @@
|
||||
background: 'test_bug.png';
|
5
tests/auto/gui/text/qcssparser/testdata/scanner/quotedstring/output
vendored
Normal file
5
tests/auto/gui/text/qcssparser/testdata/scanner/quotedstring/output
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
IDENT|background
|
||||
COLON|:
|
||||
S|
|
||||
STRING|'test_bug.png'
|
||||
SEMICOLON|;
|
1
tests/auto/gui/text/qcssparser/testdata/scanner/simple/input
vendored
Normal file
1
tests/auto/gui/text/qcssparser/testdata/scanner/simple/input
vendored
Normal file
@ -0,0 +1 @@
|
||||
p { display:block; }
|
9
tests/auto/gui/text/qcssparser/testdata/scanner/simple/output
vendored
Normal file
9
tests/auto/gui/text/qcssparser/testdata/scanner/simple/output
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
IDENT|p
|
||||
LBRACE| {
|
||||
S|
|
||||
IDENT|display
|
||||
COLON|:
|
||||
IDENT|block
|
||||
SEMICOLON|;
|
||||
S|
|
||||
RBRACE|}
|
1
tests/auto/gui/text/qcssparser/testdata/scanner/unicode/input
vendored
Normal file
1
tests/auto/gui/text/qcssparser/testdata/scanner/unicode/input
vendored
Normal file
@ -0,0 +1 @@
|
||||
\41"\7E"\00006Df
|
3
tests/auto/gui/text/qcssparser/testdata/scanner/unicode/output
vendored
Normal file
3
tests/auto/gui/text/qcssparser/testdata/scanner/unicode/output
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
IDENT|A
|
||||
STRING|"~"
|
||||
IDENT|mf
|
1756
tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
Normal file
1756
tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user