QTest - How to i using it on UI objects??
-
Hello,
I have a object inherits from QDockWidget in there is others Qt's objects (QComboBox, QTreeWidget,...) . For to test, the others objects of my system, I have used the CppUnit. So, how to I using the QTest for my user-interface objects??
Thanks,
Tchoninho.
-
Hi tchoninho,
In "this part of the docs":http://doc.qt.nokia.com/4.7/qtestlib-manual.html you'll find the description of how to use QTest. Also, as a reference, you can check how Qt widgets are tested in the directory QT_SOURCE/tests/auto/ -
"Two cents from KDE":http://techbase.kde.org/Development/Tutorials/Unittests