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:
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: