QTestSuite.h 329 B

12345678910111213141516171819202122
  1. #ifndef QTESTSUITE_H
  2. #define QTESTSUITE_H
  3. #include <QtTest/QTest>
  4. #include <QObject>
  5. #include <QList>
  6. class QTestSuite : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. explicit QTestSuite(QObject *parent = 0);
  11. ~QTestSuite();
  12. static QList<QTestSuite*> suites();
  13. private:
  14. static QList<QTestSuite*> m_suites;
  15. };
  16. #endif // QTESTSUITE_H