Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
 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)
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 147 of file qtestlog.cpp.

Constructor & Destructor Documentation

◆ IgnoreResultList() [1/2]

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

Definition at line 149 of file qtestlog.cpp.

References IgnoreResultList().

Referenced by IgnoreResultList().

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

◆ IgnoreResultList() [2/2]

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

Definition at line 149 of file qtestlog.cpp.

Member Function Documentation

◆ append() [1/2]

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

Definition at line 161 of file qtestlog.cpp.

References next.

◆ append() [2/2]

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

Definition at line 161 of file qtestlog.cpp.

◆ clearList() [1/2]

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

Definition at line 152 of file qtestlog.cpp.

References next.

◆ clearList() [2/2]

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

Definition at line 152 of file qtestlog.cpp.

◆ matches() [1/2]

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

Definition at line 188 of file qtestlog.cpp.

◆ matches() [2/2]

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

Definition at line 188 of file qtestlog.cpp.

◆ stringsMatch() [1/2]

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

Definition at line 174 of file qtestlog.cpp.

◆ stringsMatch() [2/2]

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

Definition at line 174 of file qtestlog.cpp.

Member Data Documentation

◆ next

IgnoreResultList * QTest::IgnoreResultList::next = nullptr

Definition at line 202 of file qtestlog.cpp.

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

◆ pattern

QVariant QTest::IgnoreResultList::pattern

Definition at line 201 of file qtestlog.cpp.

◆ type

QtMsgType QTest::IgnoreResultList::type

Definition at line 200 of file qtestlog.cpp.


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