[Previous: QtHelp Module] [All Qt Modules] [Next: QAxContainer Module] QtTest Module
|
| QTest | Contains all the functions and declarations that are related to the QTestLib tool |
|---|
| QSignalSpy | Enables introspection of signal emission |
|---|---|
| QTestEventList | List of GUI events |
| QTest::QTouchEventSequence | Used to simulate a sequence of touch events |
Applications that use Qt's unit testing classes need to be configured to be built against the QtTest module. To include the definitions of the module's classes, use the following directive:
#include <QtTest>
To link against the module, add this line to your qmake .pro file:
CONFIG += qtestlib
See the QTestLib Manual for a detailed introduction on how to use Qt's unit testing features with your applications.
The QtTest module is part of all Qt editions.
[Previous: QtHelp Module] [All Qt Modules] [Next: QAxContainer Module]
| Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |