forked from qt/qtbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Fix some QGraphicsScene tests
1. Use qrc for test data so that it can be found on all platforms. 2. Skip a test which does not work on platforms where show() implies showMaximized(), as it depends on the window size being 150x150. 3. Skip test for hover event which depends on having a valid mouse cursor position. 4. Skip a couple of tests that fail on some Android devices. It's not worth spending a lot of time investigating this at the moment. Change-Id: Icb2b7f1d82981546a2154a76535b95606d7f40da Reviewed-by: BogDan Vatra <[email protected]>
- Loading branch information
Eskil Abrahamsen Blomfeldt
authored and
Tony Sarajärvi
committed
Jan 20, 2016
1 parent
a63a506
commit 4de1d0c
Showing
3 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ wince* { | |
DEPLOYMENT += rootFiles renderFiles | ||
DEFINES += SRCDIR=\\\".\\\" | ||
} | ||
|
||
RESOURCES += testdata.qrc |
32 changes: 32 additions & 0 deletions
32
tests/auto/widgets/graphicsview/qgraphicsscene/testdata.qrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<RCC> | ||
<qresource prefix="/"> | ||
<file>testData/render/all-all-45-deg-left.png</file> | ||
<file>testData/render/all-all-45-deg-right.png</file> | ||
<file>testData/render/all-all-scale-2x.png</file> | ||
<file>testData/render/all-all-translate-0-50.png</file> | ||
<file>testData/render/all-all-translate-50-0.png</file> | ||
<file>testData/render/all-all-untransformed-clip-ellipse.png</file> | ||
<file>testData/render/all-all-untransformed-clip-rect.png</file> | ||
<file>testData/render/all-all-untransformed.png</file> | ||
<file>testData/render/all-bottomleft-untransformed.png</file> | ||
<file>testData/render/all-bottomright-untransformed.png</file> | ||
<file>testData/render/all-topleft-untransformed.png</file> | ||
<file>testData/render/all-topright-untransformed.png</file> | ||
<file>testData/render/bottom-bottomright-untransformed.png</file> | ||
<file>testData/render/bottom-topleft-untransformed.png</file> | ||
<file>testData/render/bottomleft-all-untransformed.png</file> | ||
<file>testData/render/bottomleft-topleft-untransformed.png</file> | ||
<file>testData/render/bottomright-all-untransformed.png</file> | ||
<file>testData/render/bottomright-topleft-untransformed.png</file> | ||
<file>testData/render/left-bottomright-untransformed.png</file> | ||
<file>testData/render/left-topleft-untransformed.png</file> | ||
<file>testData/render/right-bottomright-untransformed.png</file> | ||
<file>testData/render/right-topleft-untransformed.png</file> | ||
<file>testData/render/top-bottomright-untransformed.png</file> | ||
<file>testData/render/top-topleft-untransformed.png</file> | ||
<file>testData/render/topleft-all-untransformed.png</file> | ||
<file>testData/render/topleft-topleft-untransformed.png</file> | ||
<file>testData/render/topright-all-untransformed.png</file> | ||
<file>testData/render/topright-topleft-untransformed.png</file> | ||
</qresource> | ||
</RCC> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters