~aacid/unity8/moreAsyncAudioCard

« back to all changes in this revision

Viewing changes to tests/qmltests/Greeter/tst_WideView.qml

  • Committer: Albert Astals Cid
  • Date: 2016-03-10 08:32:16 UTC
  • mfrom: (2136.2.83 unity8)
  • Revision ID: albert.astals@canonical.com-20160310083216-8nnplxl85qx13xd0
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
522
522
 
523
523
            tryCompare(loginList, "height", view.height);
524
524
        }
 
525
 
 
526
        function test_alphanumeric() {
 
527
            var passwordInput = findChild(view, "passwordInput");
 
528
 
 
529
            verify(view.alphanumeric);
 
530
            compare(passwordInput.inputMethodHints, Qt.ImhNone);
 
531
            view.alphanumeric = false;
 
532
            compare(passwordInput.inputMethodHints, Qt.ImhDigitsOnly);
 
533
            view.alphanumeric = true;
 
534
            compare(passwordInput.inputMethodHints, Qt.ImhNone);
 
535
        }
525
536
    }
526
537
}