Be more insistent that tests using the obsolete skipAll() function
should change to using skip() by treating calls to skipAll() as test
failures. After a further grace period the skipAll() function will be
removed.
Change-Id: Ic2448af2f8176909afa151b6e8c29587dfd17f1f
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
}
function skipAll(msg) {
- if (msg === undefined)
- msg = ""
- warn("The skipAll function is deprecated and will be removed soon. Please update this test by changing skipAll to skip.")
- qtest_results.skip(msg, util.callerFile(), util.callerLine())
+ msg = "The skipAll function is no longer available. Please update this test by changing skipAll to skip."
+ qtest_results.fail(msg, util.callerFile(), util.callerLine())
throw new Error("QtQuickTest::skip")
}
if (when && !completed && !running)
qtest_run()
}
-}
\ No newline at end of file
+}