Herunterladen als
root/tests/em/tst_querybuildertest.cpp @ 4062c152
e7cfc35a | Christian Ehringfeld | #include <QString>
|
|
#include <QtTest>
|
|||
class QuerybuilderTest : public QObject
|
|||
{
|
|||
Q_OBJECT
|
|||
public:
|
|||
QuerybuilderTest();
|
|||
private Q_SLOTS:
|
|||
void initTestCase();
|
|||
void cleanupTestCase();
|
|||
void testCase1_data();
|
|||
void testCase1();
|
|||
};
|
|||
QuerybuilderTest::QuerybuilderTest()
|
|||
{
|
|||
}
|
|||
void QuerybuilderTest::initTestCase()
|
|||
{
|
|||
}
|
|||
void QuerybuilderTest::cleanupTestCase()
|
|||
{
|
|||
}
|
|||
void QuerybuilderTest::testCase1_data()
|
|||
{
|
|||
QTest::addColumn<QString>("data");
|
|||
QTest::newRow("0") << QString();
|
|||
}
|
|||
void QuerybuilderTest::testCase1()
|
|||
{
|
|||
QFETCH(QString, data);
|
|||
QVERIFY2(true, "Failure");
|
|||
}
|
|||
f8b8663b | Christian Ehringfeld | //QTEST_APPLESS_MAIN(QuerybuilderTest)
|
|
e7cfc35a | Christian Ehringfeld | ||
#include "tst_querybuildertest.moc"
|