@@ -11,73 +11,73 @@ TaskFunction createChannelsIntegrationTest() {
11
11
return DriverTest (
12
12
'${flutterDirectory .path }/dev/integration_tests/channels' ,
13
13
'lib/main.dart' ,
14
- );
14
+ ).call ;
15
15
}
16
16
17
17
TaskFunction createPlatformInteractionTest () {
18
18
return DriverTest (
19
19
'${flutterDirectory .path }/dev/integration_tests/platform_interaction' ,
20
20
'lib/main.dart' ,
21
- );
21
+ ).call ;
22
22
}
23
23
24
24
TaskFunction createFlavorsTest () {
25
25
return DriverTest (
26
26
'${flutterDirectory .path }/dev/integration_tests/flavors' ,
27
27
'lib/main.dart' ,
28
28
extraOptions: < String > ['--flavor' , 'paid' ],
29
- );
29
+ ).call ;
30
30
}
31
31
32
32
TaskFunction createIntegrationTestFlavorsTest () {
33
33
return IntegrationTest (
34
34
'${flutterDirectory .path }/dev/integration_tests/flavors' ,
35
35
'integration_test/integration_test.dart' ,
36
36
extraOptions: < String > ['--flavor' , 'paid' ],
37
- );
37
+ ).call ;
38
38
}
39
39
40
40
TaskFunction createExternalUiIntegrationTest () {
41
41
return DriverTest (
42
42
'${flutterDirectory .path }/dev/integration_tests/external_ui' ,
43
43
'lib/main.dart' ,
44
- );
44
+ ).call ;
45
45
}
46
46
47
47
TaskFunction createPlatformChannelSampleTest ({String ? deviceIdOverride}) {
48
48
return DriverTest (
49
49
'${flutterDirectory .path }/examples/platform_channel' ,
50
50
'test_driver/button_tap.dart' ,
51
51
deviceIdOverride: deviceIdOverride,
52
- );
52
+ ).call ;
53
53
}
54
54
55
55
TaskFunction createPlatformChannelSwiftSampleTest () {
56
56
return DriverTest (
57
57
'${flutterDirectory .path }/examples/platform_channel_swift' ,
58
58
'test_driver/button_tap.dart' ,
59
- );
59
+ ).call ;
60
60
}
61
61
62
62
TaskFunction createEmbeddedAndroidViewsIntegrationTest () {
63
63
return DriverTest (
64
64
'${flutterDirectory .path }/dev/integration_tests/android_views' ,
65
65
'lib/main.dart' ,
66
- );
66
+ ).call ;
67
67
}
68
68
69
69
TaskFunction createHybridAndroidViewsIntegrationTest () {
70
70
return DriverTest (
71
71
'${flutterDirectory .path }/dev/integration_tests/hybrid_android_views' ,
72
72
'lib/main.dart' ,
73
- );
73
+ ).call ;
74
74
}
75
75
76
76
TaskFunction createAndroidSemanticsIntegrationTest () {
77
77
return DriverTest (
78
78
'${flutterDirectory .path }/dev/integration_tests/android_semantics_testing' ,
79
79
'lib/main.dart' ,
80
- );
80
+ ).call ;
81
81
}
82
82
83
83
TaskFunction createIOSPlatformViewTests () {
@@ -87,42 +87,42 @@ TaskFunction createIOSPlatformViewTests() {
87
87
extraOptions: < String > [
88
88
'--dart-define=ENABLE_DRIVER_EXTENSION=true' ,
89
89
],
90
- );
90
+ ).call ;
91
91
}
92
92
93
93
TaskFunction createEndToEndKeyboardTest () {
94
94
return DriverTest (
95
95
'${flutterDirectory .path }/dev/integration_tests/ui' ,
96
96
'lib/keyboard_resize.dart' ,
97
- );
97
+ ).call ;
98
98
}
99
99
100
100
TaskFunction createEndToEndFrameNumberTest () {
101
101
return DriverTest (
102
102
'${flutterDirectory .path }/dev/integration_tests/ui' ,
103
103
'lib/frame_number.dart' ,
104
- );
104
+ ).call ;
105
105
}
106
106
107
107
TaskFunction createEndToEndDriverTest () {
108
108
return DriverTest (
109
109
'${flutterDirectory .path }/dev/integration_tests/ui' ,
110
110
'lib/driver.dart' ,
111
- );
111
+ ).call ;
112
112
}
113
113
114
114
TaskFunction createEndToEndScreenshotTest () {
115
115
return DriverTest (
116
116
'${flutterDirectory .path }/dev/integration_tests/ui' ,
117
117
'lib/screenshot.dart' ,
118
- );
118
+ ).call ;
119
119
}
120
120
121
121
TaskFunction createEndToEndKeyboardTextfieldTest () {
122
122
return DriverTest (
123
123
'${flutterDirectory .path }/dev/integration_tests/ui' ,
124
124
'lib/keyboard_textfield.dart' ,
125
- );
125
+ ).call ;
126
126
}
127
127
128
128
TaskFunction dartDefinesTask () {
@@ -132,29 +132,29 @@ TaskFunction dartDefinesTask() {
132
132
'--dart-define=test.valueA=Example,A' ,
133
133
'--dart-define=test.valueB=Value' ,
134
134
],
135
- );
135
+ ).call ;
136
136
}
137
137
138
138
TaskFunction createEndToEndIntegrationTest () {
139
139
return IntegrationTest (
140
140
'${flutterDirectory .path }/dev/integration_tests/ui' ,
141
141
'integration_test/integration_test.dart' ,
142
- );
142
+ ).call ;
143
143
}
144
144
145
145
TaskFunction createSpellCheckIntegrationTest () {
146
146
return IntegrationTest (
147
147
'${flutterDirectory .path }/dev/integration_tests/spell_check' ,
148
148
'integration_test/integration_test.dart' ,
149
- );
149
+ ).call ;
150
150
}
151
151
152
152
TaskFunction createWindowsStartupDriverTest ({String ? deviceIdOverride}) {
153
153
return DriverTest (
154
154
'${flutterDirectory .path }/dev/integration_tests/windows_startup_test' ,
155
155
'lib/main.dart' ,
156
156
deviceIdOverride: deviceIdOverride,
157
- );
157
+ ).call ;
158
158
}
159
159
160
160
class DriverTest {
0 commit comments