Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: tests/compiler/dart2js/inference/send_test.dart

Issue 2950493002: Add closure_test (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/compiler/dart2js/inference/inference_test_helper.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:io'; 5 import 'dart:io';
6 import 'package:async_helper/async_helper.dart'; 6 import 'package:async_helper/async_helper.dart';
7 import '../equivalence/id_equivalence_helper.dart';
7 import 'inference_test_helper.dart'; 8 import 'inference_test_helper.dart';
8 9
9 main() { 10 main() {
10 asyncTest(() async { 11 asyncTest(() async {
11 Directory dataDir = new Directory.fromUri(Platform.script.resolve('data')); 12 Directory dataDir = new Directory.fromUri(Platform.script.resolve('data'));
12 await for (FileSystemEntity entity in dataDir.list()) { 13 await for (FileSystemEntity entity in dataDir.list()) {
13 print('Checking ${entity.uri}'); 14 print('Checking ${entity.uri}');
14 String annotatedCode = await new File.fromUri(entity.uri).readAsString(); 15 String annotatedCode = await new File.fromUri(entity.uri).readAsString();
15 await checkCode(annotatedCode, checkMemberAstTypeMasks); 16 await checkCode(annotatedCode, checkMemberAstTypeMasks);
16 } 17 }
17 }); 18 });
18 } 19 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/inference/inference_test_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698