ThrowOnFailEnabler Class
class QTest::ThrowOnFailEnablerHeader: | #include <ThrowOnFailEnabler> |
Since: | Qt 6.8 |
Public Functions
Detailed Description
RAII class around setThrowOnFail().
Member Function Documentation
ThrowOnFailEnabler::ThrowOnFailEnabler()
Constructor. Calls setThrowOnFail(true)
.
[noexcept]
ThrowOnFailEnabler::~ThrowOnFailEnabler()
Destructor. Calls setThrowOnFail(false)
.