blob: 1a3793d7a3eeb12fff0ad77eebd4912b582aba54 (
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
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();
}
}
}
|