on xenial help sign in
Tests: Add Qt 5.5 removal TODOs
8720ab7Albert Astals
tests/utils/modules/Unity/Test/UnityTestCase.qml+4
@@ -37,6 +37,7 @@ TestCase {
37 this.getCurrentTimeMs = function() {return this.currentTimeMs}
37 this.getCurrentTimeMs = function() {return this.currentTimeMs}
38 }
38 }
39
39
40+ // TODO This function can be removed altogether once we use Qt 5.5 which has the same feature
40 function mouseClick(item, x, y, button, modifiers, delay) {
41 function mouseClick(item, x, y, button, modifiers, delay) {
41 if (button === undefined)
42 if (button === undefined)
42 button = Qt.LeftButton;
43 button = Qt.LeftButton;
@@ -52,6 +53,7 @@ TestCase {
52 qtest_fail("window not shown", 2);
53 qtest_fail("window not shown", 2);
53 }
54 }
54
55
56+ // TODO This function can be removed altogether once we use Qt 5.5 which has the same feature
55 function mouseDoubleClick(item, x, y, button, modifiers, delay) {
57 function mouseDoubleClick(item, x, y, button, modifiers, delay) {
56 if (button === undefined)
58 if (button === undefined)
57 button = Qt.LeftButton;
59 button = Qt.LeftButton;
@@ -67,6 +69,7 @@ TestCase {
67 qtest_fail("window not shown", 2)
69 qtest_fail("window not shown", 2)
68 }
70 }
69
71
72+ // TODO This function can be removed altogether once we use Qt 5.5 which has the same feature
70 function mousePress(item, x, y, button, modifiers, delay) {
73 function mousePress(item, x, y, button, modifiers, delay) {
71 if (button === undefined)
74 if (button === undefined)
72 button = Qt.LeftButton;
75 button = Qt.LeftButton;
@@ -82,6 +85,7 @@ TestCase {
82 qtest_fail("window not shown", 2)
85 qtest_fail("window not shown", 2)
83 }
86 }
84
87
88+ // TODO This function can be removed altogether once we use Qt 5.5 which has the same feature
85 function mouseRelease(item, x, y, button, modifiers, delay) {
89 function mouseRelease(item, x, y, button, modifiers, delay) {
86 if (button === undefined)
90 if (button === undefined)
87 button = Qt.LeftButton;
91 button = Qt.LeftButton;