#include <QApplication>#include <QVector>#include <QByteArray>#include <QTimer>#include "qCTKWidgetsExport.h"Go to the source code of this file.
Classes | |
| class | qCTKTestApplication |
Defines | |
| #define | QCTK_DECLARE_TEST(TEST_NAME) |
| Helper macro allowing to declare a test. | |
| #define | QCTK_EXIT_TEST(_status) |
| Helper macro allowing to exit the event loop specifying a return code. | |
| #define | QCTK_RUN_TEST(TEST_NAME) |
| Helper macro allowing to define a test. | |
| #define QCTK_DECLARE_TEST | ( | TEST_NAME | ) |
namespace \ { \ class _TEST_NAME : public qCTKTestApplication \ { \ public: \ _TEST_NAME(int _argc, char * _argv []): \ qCTKTestApplication(_argc, _argv){} \ virtual void runTest(); \ }; \ \ void _TEST_NAME::runTest() \
Helper macro allowing to declare a test.
| #define QCTK_EXIT_TEST | ( | _status | ) |
QCoreApplication::exit(_status); \ return;
Helper macro allowing to exit the event loop specifying a return code.
Referenced by QCTK_DECLARE_TEST().
1.6.1