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