Qt 4.8
Public Functions | Static Public Functions | Public Variables | List of all members
QTest::IgnoreResultList Struct Reference

Public Functions

 IgnoreResultList (QtMsgType tp, const char *message)
 
 ~IgnoreResultList ()
 

Static Public Functions

static void clearList (IgnoreResultList *&list)
 

Public Variables

char * msg
 
IgnoreResultListnext
 
QtMsgType type
 

Detailed Description

Definition at line 63 of file qtestlog.cpp.

Constructors and Destructors

◆ IgnoreResultList()

QTest::IgnoreResultList::IgnoreResultList ( QtMsgType  tp,
const char *  message 
)
inline

Definition at line 65 of file qtestlog.cpp.

66  : type(tp), next(0)
67  { msg = qstrdup(message); }
Q_CORE_EXPORT char * qstrdup(const char *)
IgnoreResultList * next
Definition: qtestlog.cpp:82

◆ ~IgnoreResultList()

QTest::IgnoreResultList::~IgnoreResultList ( )
inline

Definition at line 68 of file qtestlog.cpp.

69  { delete [] msg; }

Functions

◆ clearList()

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

Definition at line 71 of file qtestlog.cpp.

Referenced by QTestLog::leaveTestFunction().

72  {
73  while (list) {
74  IgnoreResultList *current = list;
75  list = list->next;
76  delete current;
77  }
78  }
IgnoreResultList(QtMsgType tp, const char *message)
Definition: qtestlog.cpp:65

Properties

◆ msg

char* QTest::IgnoreResultList::msg

◆ next

IgnoreResultList* QTest::IgnoreResultList::next

◆ type

QtMsgType QTest::IgnoreResultList::type

Definition at line 80 of file qtestlog.cpp.

Referenced by QTest::handleIgnoredMessage().


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