diff options
Diffstat (limited to 'src/imports/testlib/TestCase.qml')
-rw-r--r-- | src/imports/testlib/TestCase.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/imports/testlib/TestCase.qml b/src/imports/testlib/TestCase.qml index f6a026f..f3ce66c 100644 --- a/src/imports/testlib/TestCase.qml +++ b/src/imports/testlib/TestCase.qml @@ -155,6 +155,12 @@ Item { results.warn(msg); } + function ignoreWarning(msg) { + if (!msg) + msg = "" + results.ignoreWarning(msg) + } + // Functions that can be overridden in subclasses for init/cleanup duties. function initTestCase() {} function cleanupTestCase() {} |