Commit 2d119a13 authored by Charles Yin's avatar Charles Yin Committed by Qt by Nokia
Browse files

Fix test fails related to QTBUG-22237


Task-number:QTBUG-22237
Change-Id: I933c2cbd9218c8a5403712aa9dafe4221791ce0d
Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
parent d5b86cd3
No related merge requests found
Showing with 2 additions and 1 deletion
......@@ -4,6 +4,7 @@ import "testhelper.js" as Helper
Canvas {
id:canvas; width:100;height:50; renderTarget: Canvas.Image
TestCase {
id:testCase
name: "state"; when: windowShown
function test_bitmap() {
var ctx = canvas.getContext('2d');
......@@ -295,7 +296,7 @@ Canvas {
}
for (var i = limit-1; i > 0; --i)
{
compare(ctx.lineWidth, i);
testCase.compare(ctx.lineWidth, i); //strange javascript error here
ctx.restore();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment