Tests: add autotests for TextEdit and TextInput
authorCaroline Chao <caroline.chao@digia.com>
Tue, 5 Mar 2013 13:56:10 +0000 (14:56 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 7 Mar 2013 10:58:50 +0000 (11:58 +0100)
commitc4cbb1249fa7cb754de4603f5ff606aa94fafbd5
tree8011bbe11d396ea71211e59133413280d1d3cf66
parent962609bef1aaa61125700ceb5e5e25c243113a0a
Tests: add autotests for TextEdit and TextInput

Check the selection is not cleared when the control receives
a focus out event with one of the following reason:
- Qt::ActiveWindowFocusReason
- Qt::PopupFocusReason

Change-Id: I38f4a4cba5e769f19de4e327d03be57a8d1d36a7
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
tests/auto/quick/qquicktextedit/data/focusOutSelection.qml [new file with mode: 0644]
tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp
tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp