Obsolete Members for QTest

QTest 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.

매크로

(deprecated in 6.3) QVERIFY_EXCEPTION_THROWN(expression, exceptiontype)
(deprecated) QWARN(message)

매크로 문서

[deprecated in 6.3] QVERIFY_EXCEPTION_THROWN(expression, exceptiontype)

이 매크로는 6.3부터 더 이상 사용되지 않습니다. 새 코드에서 이 매크로를 사용하지 않는 것이 좋습니다.

대신 QVERIFY_THROWS_EXCEPTION(exceptiontype, expression) 을 사용하세요.

[deprecated] QWARN(message)

이 매크로는 더 이상 사용되지 않습니다. 새 코드에서 이 매크로를 사용하지 않는 것이 좋습니다.

대신 qWarning()를 사용하세요.

테스트 로그에 message 을 경고로 추가합니다. 이 매크로는 테스트의 어느 곳에서나 사용할 수 있습니다.

참고: 이 매크로는 스레드에 안전합니다.

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