Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
4.4.1
-
None
Description
QTest asserts with non latin characters (it checks the
range belonging to QT::Key_<some1> to QT::Key_<some2>. And non-Latin
letters are outside this range.
class Tester : public QObject
{
Q_OBJECT
private slots:
void prkey();
};
void Tester::prkey()
{
mEdit *lineEdit = new mEdit;
QTest::keyPress(lineEdit, 'a');
QTest::keyPress(lineEdit, 'ф'); //Russian letter located on key with En_A.
}
If non latin characters are not supported in the test suite, this behavior should be clearly documented.