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::ThrowOnFailDisabler Class Reference

#include <qtestcase.h>

Collaboration diagram for QTest::ThrowOnFailDisabler:

Public Member Functions

 ThrowOnFailDisabler ()
 Constructor.
 ~ThrowOnFailDisabler ()
 Destructor.

Detailed Description

Since
6.8

\inmodule QtTestLib

RAII class around setThrowOnFail().

Definition at line 455 of file qtestcase.h.

Constructor & Destructor Documentation

◆ ThrowOnFailDisabler()

QTest::ThrowOnFailDisabler::ThrowOnFailDisabler ( )
inline

Constructor.

Calls {setThrowOnFail(false)}.

Definition at line 458 of file qtestcase.h.

◆ ~ThrowOnFailDisabler()

QTest::ThrowOnFailDisabler::~ThrowOnFailDisabler ( )
inline

Destructor.

Calls {setThrowOnFail(true)}.

Definition at line 459 of file qtestcase.h.


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