Use variable args macros to swallow any extra commas in the expression. To use this, the type of the exception has to be first. Use Eddy's suggestion for a new name to avoid breaking the old macro. [ChangeLog][QtTest] Added QVERIFY_THROWS_EXCEPTION, replacing QVERIFY_EXCEPTION_THROWN, which has therefore been deprecated. Change-Id: I16825c35bae0631c5fad5a9a3ace4d6edc067f83 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| externaltests.cpp | ||
| externaltests.h | ||
| forwarddeclared.cpp | ||
| forwarddeclared.h | ||
| nontracked.cpp | ||
| nontracked.h | ||
| tst_qsharedpointer.cpp | ||
| wrapper.cpp | ||
| wrapper.h | ||