diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2016-07-03 14:10:15 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2016-07-04 15:33:47 +0000 |
commit | 827af028904c8f0c370ea590d565e9a31e168088 (patch) | |
tree | 37c3ad93f77134807e4c608ea86c09898689c508 /tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml | |
parent | e7d6606e2d58774c98a1eda5bd879c92ffbbd23c (diff) |
Canvas test: make sure canvas is ready
before:
Totals: 80 passed, 653 failed, 0 skipped, 0 blacklisted, 35852ms
after:
Totals: 729 passed, 4 failed, 0 skipped, 0 blacklisted, 29599ms
The last four failures are due to high dpi issues.
Change-Id: Ie937091558395572dc281ee5a5b90848ea9d2081
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml')
-rw-r--r-- | tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml b/tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml index 93f85107a7..565f906fb1 100644 --- a/tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml +++ b/tests/auto/quick/qquickcanvasitem/data/tst_canvas.qml @@ -590,6 +590,7 @@ CanvasTestCase { verify(canvas); canvas.width = 100; canvas.height = 100; + waitForRendering(canvas); var ctx = canvas.getContext("2d"); |