2020-12-08 21:00:43 +01:00
|
|
|
#include <QtTest>
|
|
|
|
#include <QCoreApplication>
|
|
|
|
|
|
|
|
// add necessary includes here
|
|
|
|
|
|
|
|
class mytest : public QObject
|
|
|
|
{
|
2024-05-02 08:39:27 +02:00
|
|
|
Q_OBJECT
|
2020-12-08 21:00:43 +01:00
|
|
|
|
|
|
|
public:
|
2024-05-02 08:39:27 +02:00
|
|
|
mytest();
|
|
|
|
~mytest();
|
2020-12-08 21:00:43 +01:00
|
|
|
|
|
|
|
private slots:
|
2024-05-02 08:39:27 +02:00
|
|
|
void initTestCase();
|
|
|
|
void cleanupTestCase();
|
|
|
|
void test_case1();
|
2020-12-08 21:00:43 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
mytest::mytest()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
mytest::~mytest()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void mytest::initTestCase()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void mytest::cleanupTestCase()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void mytest::test_case1()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
QTEST_MAIN(mytest)
|
|
|
|
|
|
|
|
#include "tst_mytest.moc"
|