Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QTest::IgnoreResultList Struct Reference
+ Collaboration diagram for QTest::IgnoreResultList:

Public Member Functions

 IgnoreResultList (QtMsgType tp, const QVariant &patternIn)
 
bool matches (QtMsgType tp, const QString &message) const
 

Static Public Member Functions

static void clearList (IgnoreResultList *&list)
 
static void append (IgnoreResultList *&list, QtMsgType type, const QVariant &patternIn)
 
static bool stringsMatch (const QString &expected, const QString &actual)
 

Public Attributes

QtMsgType type
 
QVariant pattern
 
IgnoreResultListnext = nullptr
 

Detailed Description

Definition at line 83 of file qtestlog.cpp.

Constructor & Destructor Documentation

◆ IgnoreResultList()

QTest::IgnoreResultList::IgnoreResultList ( QtMsgType  tp,
const QVariant patternIn 
)
inline

Definition at line 85 of file qtestlog.cpp.

Member Function Documentation

◆ append()

static void QTest::IgnoreResultList::append ( IgnoreResultList *&  list,
QtMsgType  type,
const QVariant patternIn 
)
inlinestatic

Definition at line 97 of file qtestlog.cpp.

References item, list, and next.

Referenced by QTestLog::ignoreMessage().

+ Here is the caller graph for this function:

◆ clearList()

static void QTest::IgnoreResultList::clearList ( IgnoreResultList *&  list)
inlinestatic

Definition at line 88 of file qtestlog.cpp.

References list.

Referenced by QTestLog::clearIgnoreMessages().

+ Here is the caller graph for this function:

◆ matches()

bool QTest::IgnoreResultList::matches ( QtMsgType  tp,
const QString message 
) const
inline

Definition at line 124 of file qtestlog.cpp.

References stringsMatch().

+ Here is the call graph for this function:

◆ stringsMatch()

static bool QTest::IgnoreResultList::stringsMatch ( const QString expected,
const QString actual 
)
inlinestatic

Definition at line 110 of file qtestlog.cpp.

References expected.

Referenced by matches().

+ Here is the caller graph for this function:

Member Data Documentation

◆ next

IgnoreResultList* QTest::IgnoreResultList::next = nullptr

Definition at line 138 of file qtestlog.cpp.

Referenced by append(), and QTest::handleIgnoredMessage().

◆ pattern

QVariant QTest::IgnoreResultList::pattern

Definition at line 137 of file qtestlog.cpp.

◆ type

QtMsgType QTest::IgnoreResultList::type

Definition at line 136 of file qtestlog.cpp.


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