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
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 405 of file qtestcase.h.

Constructor & Destructor Documentation

◆ ThrowOnFailDisabler()

QTest::ThrowOnFailDisabler::ThrowOnFailDisabler ( )
inline

Constructor.

Calls {setThrowOnFail(false)}.

Definition at line 408 of file qtestcase.h.

References QTest::setThrowOnFail().

+ Here is the call graph for this function:

◆ ~ThrowOnFailDisabler()

QTest::ThrowOnFailDisabler::~ThrowOnFailDisabler ( )
inline

Destructor.

Calls {setThrowOnFail(true)}.

Definition at line 409 of file qtestcase.h.

References QTest::setThrowOnFail().

+ Here is the call graph for this function:

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