Qt 4.8
|
#include <qtestelement.h>
Public Functions | |
bool | addLogElement (QTestElement *element) |
QTestElement * | childElements () const |
const QTestElement * | parentElement () const |
QTestElement (int type=-1) | |
void | setParent (const QTestElement *p) |
~QTestElement () | |
Public Functions inherited from QTestCoreElement< QTestElement > | |
void | addAttribute (const QTest::AttributeIndex index, const char *value) |
const QTestElementAttribute * | attribute (QTest::AttributeIndex index) const |
const char * | attributeName (QTest::AttributeIndex index) const |
QTestElementAttribute * | attributes () const |
const char * | attributeValue (QTest::AttributeIndex index) const |
const char * | elementName () const |
QTest::LogElementType | elementType () const |
QTestCoreElement (int type=-1) | |
virtual | ~QTestCoreElement () |
Public Functions inherited from QTestCoreList< QTestElement > | |
void | addToList (QTestElement **list) |
int | count (QTestElement *list) |
int | count () |
QTestElement * | nextElement () |
QTestElement * | previousElement () |
QTestCoreList () | |
virtual | ~QTestCoreList () |
Properties | |
QTestElement * | listOfChildren |
const QTestElement * | parent |
Definition at line 53 of file qtestelement.h.
QTestElement::QTestElement | ( | int | type = -1 | ) |
Definition at line 46 of file qtestelement.cpp.
QTestElement::~QTestElement | ( | ) |
Definition at line 53 of file qtestelement.cpp.
bool QTestElement::addLogElement | ( | QTestElement * | element | ) |
Definition at line 58 of file qtestelement.cpp.
Referenced by QTestLogger::addBenchmarkResult(), QTestLogger::addIncident(), QTestLogger::addMessage(), and QTestLogger::stopLogging().
QTestElement * QTestElement::childElements | ( | ) | const |
Definition at line 72 of file qtestelement.cpp.
Referenced by QTestXunitStreamer::formatAfterAttributes(), QTestLightXmlStreamer::formatBeforeAttributes(), QTestXunitStreamer::formatEnd(), QTestXmlStreamer::formatEnd(), QTestLightXmlStreamer::formatEnd(), QTestXunitStreamer::outputElements(), and QTestBasicStreamer::outputElements().
const QTestElement * QTestElement::parentElement | ( | ) | const |
Definition at line 77 of file qtestelement.cpp.
Referenced by QTestXunitStreamer::formatAfterAttributes(), QTestXunitStreamer::formatAttributes(), QTestXunitStreamer::formatStart(), and QTestXunitStreamer::indentForElement().
void QTestElement::setParent | ( | const QTestElement * | p | ) |
Definition at line 82 of file qtestelement.cpp.
Referenced by addLogElement(), and QTestLogger::stopLogging().
|
private |
Definition at line 66 of file qtestelement.h.
Referenced by addLogElement(), childElements(), and ~QTestElement().
|
private |
Definition at line 67 of file qtestelement.h.
Referenced by parentElement(), and setParent().