이 페이지에서

QTest::ThrowOnFailEnabler Class

class QTest::ThrowOnFailEnabler
Header: #include <qtestcase.h>
Since: Qt 6.8

공개 함수

상세 설명

setThrowOnFail()를 둘러싼 RAII 클래스.

멤버 함수 문서

ThrowOnFailEnabler::ThrowOnFailEnabler()

생성자. ` setThrowOnFail(true)`를 호출합니다.

[noexcept] ThrowOnFailEnabler::~ThrowOnFailEnabler()

소멸자. ` setThrowOnFail(false)`를 호출합니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.