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

Constructor & Destructor Documentation

◆ ThrowOnFailDisabler()

QTest::ThrowOnFailDisabler::ThrowOnFailDisabler ( )
inline

Constructor.

Calls {setThrowOnFail(false)}.

Definition at line 436 of file qtestcase.h.

◆ ~ThrowOnFailDisabler()

QTest::ThrowOnFailDisabler::~ThrowOnFailDisabler ( )
inline

Destructor.

Calls {setThrowOnFail(true)}.

Definition at line 437 of file qtestcase.h.


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