~zsombi/ubuntu-ui-toolkit/35-options-panel-swipe

« back to all changes in this revision

Viewing changes to tests/unit_x11/tst_components/tst_textfield.qml

  • Committer: Zsombor Egri
  • Date: 2014-11-19 15:16:10 UTC
  • mfrom: (1214.92.17 34-snap-animator)
  • Revision ID: zsombor.egri@canonical.com-20141119151610-9k1brcg53bwbz7jc
prereq sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    id: textItem
24
24
    width: units.gu(50); height: units.gu(70)
25
25
 
26
 
    property bool hasOSK: QuickUtils.inputMethodProvider !== ""
 
26
    property bool hasOSK: false
27
27
 
28
28
    function reset() {
29
29
        colorTest.focus = false;
89
89
 
90
90
        // initialize test objects
91
91
        function init() {
 
92
            textItem.hasOSK = QuickUtils.inputMethodProvider !== ""
92
93
            longText.cursorPosition = 0;
93
94
        }
94
95