PDA

View Full Version : QTest



Mordicus
25th July 2006, 10:53
Hi all,

I've modified the QTest tutorial 4 (simulating gui events) but it seem i have found a bug in the qtest functions...

QTestEventList list1;
list1.addKeyClick('a',Qt::ShiftModifier);
QTest::addRow("char") << list1 << "A";

The test fail and i don't understand why, the result is allways 'a' but with the ShiftModifier it should be 'A' ... no ? :eek:

jacek
25th July 2006, 11:35
it should be 'A' ... no ?
It looks like you are right. It doesn't work with Qt::Key_A too.