summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-11-16 03:31:47 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-11-16 03:41:55 (GMT)
commit7c40149cf63877ee3d29ec34826ed2a63b4908f2 (patch)
treed88b19a5f017400283ae13e493e79e62247f91b4 /tests
parent83e0577412ca18eff3e39b7882deb885179f982b (diff)
downloadQt-7c40149cf63877ee3d29ec34826ed2a63b4908f2.zip
Qt-7c40149cf63877ee3d29ec34826ed2a63b4908f2.tar.gz
Qt-7c40149cf63877ee3d29ec34826ed2a63b4908f2.tar.bz2
Turn off font antialiasing during tests.
Font antialiasing varies from machine to machine, and so is too unstable Also switching to a monospaced font in visual tests to attempt to pre-empt another possible source of instability. This commit also slightly increases verbosity of test failure messages to be more useful in the CI system Task-number: QTBUG-14792
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qmlvisual/shared/DejaVuSansMono.ttfbin0 -> 237788 bytes
-rw-r--r--tests/auto/declarative/qmlvisual/shared/TestText.qml2
-rw-r--r--tests/auto/declarative/qmlvisual/shared/TestTextEdit.qml2
-rw-r--r--tests/auto/declarative/qmlvisual/shared/TestTextInput.qml2
-rw-r--r--tests/auto/declarative/qmlvisual/shared/Vera.ttfbin65932 -> 0 bytes
5 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qmlvisual/shared/DejaVuSansMono.ttf b/tests/auto/declarative/qmlvisual/shared/DejaVuSansMono.ttf
new file mode 100644
index 0000000..029fcac
--- /dev/null
+++ b/tests/auto/declarative/qmlvisual/shared/DejaVuSansMono.ttf
Binary files differ
diff --git a/tests/auto/declarative/qmlvisual/shared/TestText.qml b/tests/auto/declarative/qmlvisual/shared/TestText.qml
index be40112..ab624c3 100644
--- a/tests/auto/declarative/qmlvisual/shared/TestText.qml
+++ b/tests/auto/declarative/qmlvisual/shared/TestText.qml
@@ -2,7 +2,7 @@ import QtQuick 1.0
import "../shared" 1.0
Text{
- FontLoader { id: fixedFont; source: "Vera.ttf" }
+ FontLoader { id: fixedFont; source: "DejaVuSansMono.ttf" }
font.family: fixedFont.name
font.pixelSize: 12
}
diff --git a/tests/auto/declarative/qmlvisual/shared/TestTextEdit.qml b/tests/auto/declarative/qmlvisual/shared/TestTextEdit.qml
index e19e418..e7c5bc1 100644
--- a/tests/auto/declarative/qmlvisual/shared/TestTextEdit.qml
+++ b/tests/auto/declarative/qmlvisual/shared/TestTextEdit.qml
@@ -3,7 +3,7 @@ import "../shared" 1.0
TextEdit {
id: edit
- FontLoader { id: fixedFont; source: "Vera.ttf" }
+ FontLoader { id: fixedFont; source: "DejaVuSansMono.ttf" }
font.family: fixedFont.name
font.pixelSize: 12
cursorDelegate: Rectangle {
diff --git a/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml b/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
index e01c2c2..64938e0 100644
--- a/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
+++ b/tests/auto/declarative/qmlvisual/shared/TestTextInput.qml
@@ -3,7 +3,7 @@ import "../shared" 1.0
TextInput {
id: inp
- FontLoader { id: fixedFont; source: "Vera.ttf" }
+ FontLoader { id: fixedFont; source: "DejaVuSansMono.ttf" }
font.family: fixedFont.name
font.pixelSize: 12
cursorDelegate: Rectangle {
diff --git a/tests/auto/declarative/qmlvisual/shared/Vera.ttf b/tests/auto/declarative/qmlvisual/shared/Vera.ttf
deleted file mode 100644
index 58cd6b5..0000000
--- a/tests/auto/declarative/qmlvisual/shared/Vera.ttf
+++ /dev/null
Binary files differ