Fix test fails related to QTBUG-22237
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquickcanvasitem / data / tst_text.qml
1 import QtQuick 2.0
2 import QtTest 1.0
3 import "testhelper.js" as Helper
4 Canvas {
5    id:canvas; width:100;height:50; renderTarget: Canvas.Image
6    TestCase {
7        //TODO
8        name: "text"; when: windowShown
9        function test_baseLine() {
10            var ctx = canvas.getContext('2d');
11            ctx.reset();
12       }
13        function test_align() {
14            var ctx = canvas.getContext('2d');
15            ctx.reset();
16       }
17        function test_stroke() {
18            var ctx = canvas.getContext('2d');
19            ctx.reset();
20       }
21        function test_fill() {
22            var ctx = canvas.getContext('2d');
23            ctx.reset();
24       }
25        function test_font() {
26            var ctx = canvas.getContext('2d');
27            ctx.reset();
28       }
29        function test_measure() {
30            var ctx = canvas.getContext('2d');
31            ctx.reset();
32       }
33    }
34 }