![]() |
Qt 6.x
The Qt SDK
|
#include <qtestelement_p.h>
Public Member Functions | |
QTestElement (QTest::LogElementType type=QTest::LET_Undefined) | |
~QTestElement () | |
bool | addChild (QTestElement *element) |
const std::vector< QTestElement * > & | childElements () const |
const QTestElement * | parentElement () const |
void | setParent (const QTestElement *p) |
![]() | |
QTestCoreElement (QTest::LogElementType type=QTest::LET_Undefined) | |
virtual | ~QTestCoreElement () |
void | addAttribute (const QTest::AttributeIndex index, const char *value) |
const std::vector< QTestElementAttribute * > & | attributes () const |
const char * | attributeValue (QTest::AttributeIndex index) const |
const char * | attributeName (QTest::AttributeIndex index) const |
const QTestElementAttribute * | attribute (QTest::AttributeIndex index) const |
const char * | elementName () const |
QTest::LogElementType | elementType () const |
Definition at line 24 of file qtestelement_p.h.
QT_BEGIN_NAMESPACE QTestElement::QTestElement | ( | QTest::LogElementType | type = QTest::LET_Undefined | ) |
Definition at line 8 of file qtestelement.cpp.
QTestElement::~QTestElement | ( | ) |
Definition at line 13 of file qtestelement.cpp.
References child.
bool QTestElement::addChild | ( | QTestElement * | element | ) |
Definition at line 19 of file qtestelement.cpp.
References QTestCoreElement< ElementType >::elementType(), QTest::LET_Undefined, and setParent().
Referenced by QJUnitTestLogger::addIncident(), QJUnitTestLogger::startLogging(), and QJUnitTestLogger::stopLogging().
const std::vector< QTestElement * > & QTestElement::childElements | ( | ) | const |
Definition at line 33 of file qtestelement.cpp.
Referenced by QTestJUnitStreamer::formatAfterAttributes(), QTestJUnitStreamer::formatEnd(), and QTestJUnitStreamer::output().
const QTestElement * QTestElement::parentElement | ( | ) | const |
Definition at line 38 of file qtestelement.cpp.
Referenced by QTestJUnitStreamer::output().
void QTestElement::setParent | ( | const QTestElement * | p | ) |
Definition at line 43 of file qtestelement.cpp.
Referenced by addChild().