42 #include <QtCore/qmetaobject.h> 44 #include "QtTest/qtestassert.h" 45 #include "QtTest/qtestdata.h" 46 #include "QtTest/private/qtesttable_p.h" 77 for (
int i = 0; i <
d->dataCount; ++i) {
89 if (
d->parent->elementTypeId(
d->dataCount) !=
type) {
90 qDebug(
"expected data of type '%s', got '%s' for element %d of data with tag '%s'",
93 d->dataCount,
d->tag);
#define QT_END_NAMESPACE
This macro expands to.
const char * dataTag() const
QTestData(const char *tag=0, QTestTable *parent=0)
Q_CORE_EXPORT void qDebug(const char *,...)
#define QT_BEGIN_NAMESPACE
This macro expands to.
QTestTable * parent() const
void append(int type, const void *data)
void * data(int index) const
Q_CORE_EXPORT char * qstrdup(const char *)
#define QTEST_ASSERT(cond)