42 #include "QtTest/private/qtesttable_p.h" 43 #include "QtTest/qtestdata.h" 45 #include <QtCore/qmetaobject.h> 49 #include "QtTest/qtestassert.h" 77 void append(
int elemType,
const char *elemName);
92 for (
int i = 0; i <
index; ++i) {
103 for (
int i = 0; i <
index; ++i) {
108 return iter ? iter->
data : 0;
138 while (last->
next != 0)
152 while (last->
next != 0)
162 d->append(type, name);
203 QTestTablePrivate::currentTestTable =
this;
208 QTestTablePrivate::currentTestTable = 0;
230 return d->dataAt(index);
250 if (!QTestTablePrivate::gTable)
258 QTestTablePrivate::gTable = 0;
QTestData * testData(int index) const
#define QT_END_NAMESPACE
This macro expands to.
void append(int elemType, const char *elemName)
static void clearGlobalTestTable()
QTestData * newData(const char *tag)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static QTestTable * currentTestTable
static QTestTable * gTable
QTestData * dataAt(int index)
static const char * data(const QByteArray &arr)
int elementTypeId(int index) const
const char * dataTag(int index) const
static QTestTable * globalTestTable()
void addColumn(int elementType, const char *elementName)
ElementList * elementAt(int index)
int indexOf(const char *elementName) const
#define QTEST_ASSERT(cond)
static QTestTable * currentTestTable()