summaryrefslogtreecommitdiffstats
path: root/tests/auto/other
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other')
-rw-r--r--tests/auto/other/lancelot/images/alpha2x2.pngbin169 -> 78 bytes
-rw-r--r--tests/auto/other/lancelot/images/solid2x2.pngbin169 -> 75 bytes
-rw-r--r--tests/auto/other/lancelot/scripts/statictext.qps20
-rw-r--r--tests/auto/other/lancelot/scripts/text.qps8
-rw-r--r--tests/auto/other/other.pro4
-rw-r--r--tests/auto/other/qprocess_and_guieventloop/tst_qprocess_and_guieventloop.cpp2
6 files changed, 19 insertions, 15 deletions
diff --git a/tests/auto/other/lancelot/images/alpha2x2.png b/tests/auto/other/lancelot/images/alpha2x2.png
index 67ecc04286..8e99feb4cc 100644
--- a/tests/auto/other/lancelot/images/alpha2x2.png
+++ b/tests/auto/other/lancelot/images/alpha2x2.png
Binary files differ
diff --git a/tests/auto/other/lancelot/images/solid2x2.png b/tests/auto/other/lancelot/images/solid2x2.png
index ad67cd3e12..f34562f964 100644
--- a/tests/auto/other/lancelot/images/solid2x2.png
+++ b/tests/auto/other/lancelot/images/solid2x2.png
Binary files differ
diff --git a/tests/auto/other/lancelot/scripts/statictext.qps b/tests/auto/other/lancelot/scripts/statictext.qps
index c5ddda197f..6b7b97d8fa 100644
--- a/tests/auto/other/lancelot/scripts/statictext.qps
+++ b/tests/auto/other/lancelot/scripts/statictext.qps
@@ -9,7 +9,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -25,7 +25,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "alpha sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "alpha sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -43,7 +43,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "scaled sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "scaled sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -61,7 +61,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "flipped sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "flipped sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -75,16 +75,16 @@ save
rotate 185
setFont "sansserif" 10 normal
- drawStaticText 0 20 "scaled sansserif 10pt, normal"
+ drawStaticText 0 20 "rotated sansserif 10pt, normal"
setFont "sansserif" 12 normal
- drawStaticText 0 40 "scaled sansserif 12pt, normal"
+ drawStaticText 0 40 "rotated sansserif 12pt, normal"
- setFont "sansserif" 10 bold
- drawStaticText 0 60 "scaled sansserif 12pt, bold"
+ setFont "sansserif" 12 bold
+ drawStaticText 0 60 "rotated sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
- drawStaticText 0 80 "scaled sansserif 10pt, bold italic"
+ drawStaticText 0 80 "rotated sansserif 10pt, bold italic"
restore
translate 0 100
@@ -100,7 +100,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 20 "gradient sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 40 "gradient sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
diff --git a/tests/auto/other/lancelot/scripts/text.qps b/tests/auto/other/lancelot/scripts/text.qps
index 169549a5bd..1b4fe4f064 100644
--- a/tests/auto/other/lancelot/scripts/text.qps
+++ b/tests/auto/other/lancelot/scripts/text.qps
@@ -77,16 +77,16 @@ save
rotate 185
setFont "sansserif" 10 normal
- drawText 0 20 "scaled sansserif 10pt, normal"
+ drawText 0 20 "rotated sansserif 10pt, normal"
setFont "sansserif" 12 normal
- drawText 0 40 "scaled sansserif 12pt, normal"
+ drawText 0 40 "rotated sansserif 12pt, normal"
setFont "sansserif" 12 bold
- drawText 0 60 "scaled sansserif 12pt, bold"
+ drawText 0 60 "rotated sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
- drawText 0 80 "scaled sansserif 10pt, bold italic"
+ drawText 0 80 "rotated sansserif 10pt, bold italic"
restore
translate 0 100
diff --git a/tests/auto/other/other.pro b/tests/auto/other/other.pro
index c229e7053b..3b264e6b72 100644
--- a/tests/auto/other/other.pro
+++ b/tests/auto/other/other.pro
@@ -23,6 +23,10 @@ SUBDIRS=\
qtokenautomaton \
toolsupport \
+!qtHaveModule(gui): SUBDIRS -= \
+ qcomplextext \
+ qprocess_and_guieventloop \
+
!qtHaveModule(widgets): SUBDIRS -= \
gestures \
lancelot \
diff --git a/tests/auto/other/qprocess_and_guieventloop/tst_qprocess_and_guieventloop.cpp b/tests/auto/other/qprocess_and_guieventloop/tst_qprocess_and_guieventloop.cpp
index 4b4e456882..1fcb77c51b 100644
--- a/tests/auto/other/qprocess_and_guieventloop/tst_qprocess_and_guieventloop.cpp
+++ b/tests/auto/other/qprocess_and_guieventloop/tst_qprocess_and_guieventloop.cpp
@@ -42,7 +42,7 @@ void tst_QProcess_and_GuiEventLoop::waitForAndEventLoop()
{
#if defined(QT_NO_PROCESS)
QSKIP("QProcess not supported");
-#elif defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_NO_SDK)
+#elif defined(Q_OS_ANDROID)
QSKIP("Not supported on Android");
#else