~charlesk/unity8/lp-1410915-re-enable-rotation-lock-test

Viewing all changes in revision 1629.

  • Committer: CI Train Bot
  • Author(s): Albert Astals Cid
  • Date: 2015-02-24 10:16:19 UTC
  • mfrom: (1617.1.5 qmluitests54)
  • Revision ID: ci-train-bot@canonical.com-20150224101619-u139ussqr03oj3tg
Make qmluittests pass with Qt 5.4

Changes:
 * Make PinchArea not be a child  of Flickable, otherwise when zooming out the Flickable was stealing the events from the PinchArea
 * Flush touch events in some tests. Since https://qt.gitorious.org/qt/qtdeclarative/commit/6dc8f47bb05a8acb3cbcc697e0dc05356a01d4cf touch events are aggregated and only sent once per frame, that breaks  tests that are expecting things to happen immediately, hence the flush
 * Change a verify() to check for !== invalid instead of letting verify() do the cast to boolean by itself
 * Make sure the pin lock buttons are enabled before tapping into them
Approved by: Andrea Cimitan, Daniel d'Andrada

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: