aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/universal
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-03-10 16:43:00 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-03-11 12:12:54 +0000
commit58596e8ebbda8b5f086b9e1b29716181a4239433 (patch)
tree30464683f41c0d381d01c751943c1d0a91163ced /tests/auto/universal
parent4e1c2ac86179f8ff524468aa7fccfabc656a238a (diff)
tst_material/universal: use the appropriate style
The main purpose of these tests were to test the attached property and its inheritance, so it didn't matter which particular style was active while running the tests. However, it simply looks better if they run with the appropriate style, and this also allows us to add style-specific tests (such as font attributes). Change-Id: I827f26e469bce3445ffe7e24d6299bcfb587d849 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'tests/auto/universal')
-rw-r--r--tests/auto/universal/qtlabscontrols.conf2
-rw-r--r--tests/auto/universal/universal.pro3
-rw-r--r--tests/auto/universal/universal.qrc5
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/universal/qtlabscontrols.conf b/tests/auto/universal/qtlabscontrols.conf
new file mode 100644
index 00000000..8c6dd807
--- /dev/null
+++ b/tests/auto/universal/qtlabscontrols.conf
@@ -0,0 +1,2 @@
+[Controls]
+Style=Universal
diff --git a/tests/auto/universal/universal.pro b/tests/auto/universal/universal.pro
index 3a21957c..bb7a85ca 100644
--- a/tests/auto/universal/universal.pro
+++ b/tests/auto/universal/universal.pro
@@ -5,6 +5,9 @@ CONFIG += qmltestcase
SOURCES += \
$$PWD/tst_universal.cpp
+RESOURCES += \
+ $$PWD/universal.qrc
+
OTHER_FILES += \
$$PWD/data/*
diff --git a/tests/auto/universal/universal.qrc b/tests/auto/universal/universal.qrc
new file mode 100644
index 00000000..1df3aef9
--- /dev/null
+++ b/tests/auto/universal/universal.qrc
@@ -0,0 +1,5 @@
+<!DOCTYPE RCC><RCC version="1.0">
+<qresource>
+ <file>qtlabscontrols.conf</file>
+</qresource>
+</RCC>