Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QTestData Class Reference

#include <qtestdata.h>

+ Collaboration diagram for QTestData:

Public Member Functions

 ~QTestData ()
 
void append (int type, const void *data)
 
voiddata (int index) const
 
const char * dataTag () const
 
QTestTableparent () const
 
int dataCount () const
 

Friends

class QTestTable
 

Detailed Description

Definition at line 18 of file qtestdata.h.

Constructor & Destructor Documentation

◆ ~QTestData()

QTestData::~QTestData ( )

Definition at line 35 of file qtestdata.cpp.

References QTestDataPrivate::data, QTestDataPrivate::dataCount, QMetaType::destroy(), QTestTable::elementTypeId(), i, QTestDataPrivate::parent, and QTestDataPrivate::tag.

+ Here is the call graph for this function:

Member Function Documentation

◆ append()

void QTestData::append ( int type,
const void * data )

Definition at line 46 of file qtestdata.cpp.

References QMetaType::create(), d, QTestDataPrivate::data, QTestDataPrivate::dataCount, QTestTable::elementCount(), QTestTable::elementTypeId(), QTestDataPrivate::parent, qDebug, QTEST_ASSERT, and QTestDataPrivate::tag.

Referenced by operator<<().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ data()

void * QTestData::data ( int index) const

Definition at line 75 of file qtestdata.cpp.

References QTestDataPrivate::data, QTestTable::elementCount(), parent(), and QTEST_ASSERT.

+ Here is the call graph for this function:

◆ dataCount()

int QTestData::dataCount ( ) const

Definition at line 92 of file qtestdata.cpp.

References QTestDataPrivate::dataCount.

◆ dataTag()

const char * QTestData::dataTag ( ) const

Definition at line 87 of file qtestdata.cpp.

References QTestDataPrivate::tag.

Referenced by NamePredicate::operator()(), QTest::printUnknownDataTagError(), and QTest::qPrintDataTags().

+ Here is the caller graph for this function:

◆ parent()

QTestTable * QTestData::parent ( ) const

Definition at line 82 of file qtestdata.cpp.

References QTestDataPrivate::parent.

Referenced by data().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QTestTable

friend class QTestTable
friend

Definition at line 30 of file qtestdata.h.


The documentation for this class was generated from the following files: