blob: 11618e95a954ffbedc2e0faa267b39361055d661 (
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
31
32
33
34
|
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: "text"; when: windowShown
function test_baseLine() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_align() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_stroke() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_fill() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_font() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
function test_measure() {
var ctx = canvas.getContext('2d');
ctx.reset();
}
}
}
|