Add QT test to tests

This commit is contained in:
Simon De Backer
2020-12-08 21:00:43 +01:00
parent c83388c1d5
commit 6556fbaf38
5 changed files with 258 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
#include <QtTest>
#include <QCoreApplication>
// add necessary includes here
class mytest : public QObject
{
Q_OBJECT
public:
mytest();
~mytest();
private slots:
void initTestCase();
void cleanupTestCase();
void test_case1();
};
mytest::mytest()
{
}
mytest::~mytest()
{
}
void mytest::initTestCase()
{
}
void mytest::cleanupTestCase()
{
}
void mytest::test_case1()
{
}
QTEST_MAIN(mytest)
#include "tst_mytest.moc"