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
QTestCoreElement< ElementType > Class Template Reference

#include <qtestcoreelement_p.h>

+ Collaboration diagram for QTestCoreElement< ElementType >:

Public Member Functions

 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 QTestElementAttributeattribute (QTest::AttributeIndex index) const
 
const char * elementName () const
 
QTest::LogElementType elementType () const
 

Detailed Description

template<class ElementType>
class QTestCoreElement< ElementType >

Definition at line 27 of file qtestcoreelement_p.h.

Constructor & Destructor Documentation

◆ QTestCoreElement()

template<class ElementType >
QTestCoreElement< ElementType >::QTestCoreElement ( QTest::LogElementType type = QTest::LET_Undefined)

Definition at line 48 of file qtestcoreelement_p.h.

◆ ~QTestCoreElement()

template<class ElementType >
QTestCoreElement< ElementType >::~QTestCoreElement ( )
virtual

Definition at line 54 of file qtestcoreelement_p.h.

Member Function Documentation

◆ addAttribute()

template<class ElementType >
void QTestCoreElement< ElementType >::addAttribute ( const QTest::AttributeIndex index,
const char * value )

Definition at line 61 of file qtestcoreelement_p.h.

References QTestElementAttribute::setPair().

Referenced by QJUnitTestLogger::startLogging(), and QJUnitTestLogger::stopLogging().

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

◆ attribute()

template<class ElementType >
const QTestElementAttribute * QTestCoreElement< ElementType >::attribute ( QTest::AttributeIndex index) const

Definition at line 127 of file qtestcoreelement_p.h.

Referenced by QJUnitTestLogger::enterTestData().

+ Here is the caller graph for this function:

◆ attributeName()

template<class ElementType >
const char * QTestCoreElement< ElementType >::attributeName ( QTest::AttributeIndex index) const

Definition at line 88 of file qtestcoreelement_p.h.

◆ attributes()

template<class ElementType >
const std::vector< QTestElementAttribute * > & QTestCoreElement< ElementType >::attributes ( ) const

Definition at line 72 of file qtestcoreelement_p.h.

Referenced by QTestJUnitStreamer::output().

+ Here is the caller graph for this function:

◆ attributeValue()

template<class ElementType >
const char * QTestCoreElement< ElementType >::attributeValue ( QTest::AttributeIndex index) const

Definition at line 78 of file qtestcoreelement_p.h.

◆ elementName()

template<class ElementType >
const char * QTestCoreElement< ElementType >::elementName ( ) const

Definition at line 98 of file qtestcoreelement_p.h.

References QTest::LET_Undefined.

Referenced by QTestJUnitStreamer::formatEnd(), and QTestJUnitStreamer::formatStart().

+ Here is the caller graph for this function:

◆ elementType()

template<class ElementType >
QTest::LogElementType QTestCoreElement< ElementType >::elementType ( ) const

Definition at line 121 of file qtestcoreelement_p.h.

Referenced by QTestElement::addChild(), QTestJUnitStreamer::formatAfterAttributes(), and QTestJUnitStreamer::formatStart().

+ Here is the caller graph for this function:

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