blob: 8fd390a36a05f19561426ae7d4aa38e8d8985ffd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import QtQuick 2.0
import QtTest 1.0
import "testhelper.js" as Helper
Canvas {
id:canvas; width:100;height:50; renderTarget: Canvas.Image; renderStrategy:Canvas.Threaded
TestCase {
//TODO
name: "pixel"; when: windowShown
function test_createImageData() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_getImageData() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_object() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_putImageData() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_filters() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
}
}
|