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
QTestElementAttribute Class Reference

#include <qtestelementattribute_p.h>

+ Collaboration diagram for QTestElementAttribute:

Public Member Functions

 QTestElementAttribute ()
 
 ~QTestElementAttribute ()
 
const char * value () const
 
const char * name () const
 
QTest::AttributeIndex index () const
 
bool isNull () const
 
bool setPair (QTest::AttributeIndex attributeIndex, const char *value)
 

Detailed Description

Definition at line 60 of file qtestelementattribute_p.h.

Constructor & Destructor Documentation

◆ QTestElementAttribute()

QT_BEGIN_NAMESPACE QTestElementAttribute::QTestElementAttribute ( )
default

◆ ~QTestElementAttribute()

QTestElementAttribute::~QTestElementAttribute ( )

Definition at line 13 of file qtestelementattribute.cpp.

Member Function Documentation

◆ index()

QTest::AttributeIndex QTestElementAttribute::index ( ) const

Definition at line 48 of file qtestelementattribute.cpp.

Referenced by setPair().

+ Here is the caller graph for this function:

◆ isNull()

bool QTestElementAttribute::isNull ( ) const

Definition at line 53 of file qtestelementattribute.cpp.

References QTest::AI_Undefined.

◆ name()

const char * QTestElementAttribute::name ( ) const

Definition at line 23 of file qtestelementattribute.cpp.

References QTest::AI_Undefined.

◆ setPair()

bool QTestElementAttribute::setPair ( QTest::AttributeIndex attributeIndex,
const char * value )

Definition at line 58 of file qtestelementattribute.cpp.

References index(), and qstrdup().

Referenced by QTestCoreElement< ElementType >::addAttribute(), and QJUnitTestLogger::enterTestData().

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

◆ value()

const char * QTestElementAttribute::value ( ) const

Definition at line 18 of file qtestelementattribute.cpp.


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