Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.10.0
-
None
Description
TestCase currently contains the method ignoreWarning. Some warnings are printed asynchronously on some callback. There is currently no way to prevent this warning from beeing printed.
import QtQuick 2.0 import QtTest 1.0 Rectangle { id: testClass Component.onCompleted: testClass.contains() TestCase { name: "visual" function test_doIt() { //test something } } }
This leads to the following output beeing printed:
QWARN : example::UnknownTestFunc() file:///[PATH]/tst_visual.qml:6: Error: Insufficient arguments
Since this error message is printed without an attached test function it can not be ignored.