File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a BSD-style license that can be
3
3
// found in the LICENSE file.
4
4
5
+ import 'dart:io' ;
6
+
5
7
import 'package:test/test.dart' ;
6
8
7
9
import 'package:flutter_devicelab/framework/manifest.dart' ;
@@ -16,6 +18,12 @@ void main() {
16
18
expect (task.description, 'Measures the startup time of the Flutter Gallery app on Android.\n ' );
17
19
expect (task.stage, 'devicelab' );
18
20
expect (task.requiredAgentCapabilities, < String > ['linux/android' ]);
21
+
22
+ for (ManifestTask task in manifest.tasks) {
23
+ final File taskFile = new File ('bin/tasks/${task .name }.dart' );
24
+ expect (taskFile.existsSync (), true ,
25
+ reason: 'File ${taskFile .path } corresponding to manifest task "${task .name }" not found' );
26
+ }
19
27
});
20
28
});
21
29
You can’t perform that action at this time.
0 commit comments