<QTest> Page Proxy

Macros

(since 6.8) QTEST_THROW_ON_FAIL
(since 6.8) QTEST_THROW_ON_SKIP

Documentation sur les macros

[since 6.8] QTEST_THROW_ON_FAIL

Lorsqu'ils sont définis, QCOMPARE()/QVERIFY() etc. sont toujours lancés en cas d'échec. QTest::throwOnFail() n'a alors plus aucun effet.

Cette macro a été introduite dans Qt 6.8.

[since 6.8] QTEST_THROW_ON_SKIP

Lorsqu'il est défini, QSKIP() lance toujours. QTest::throwOnSkip() n'a alors plus aucun effet.

Cette macro a été introduite dans Qt 6.8.

© 2025 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.