36 lines
371 B
C++
36 lines
371 B
C++
|
#include <QtTest>
|
||
|
|
||
|
// add necessary includes here
|
||
|
|
||
|
class TestCaseName : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
TestCaseName();
|
||
|
~TestCaseName();
|
||
|
|
||
|
private slots:
|
||
|
void test_case1();
|
||
|
|
||
|
};
|
||
|
|
||
|
TestCaseName::TestCaseName()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
TestCaseName::~TestCaseName()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void TestCaseName::test_case1()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
QTEST_APPLESS_MAIN(TestCaseName)
|
||
|
|
||
|
#include "tst_testcasename.moc"
|