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

Side by Side Diff: tests/compiler/dart2js/analyze_test_test.dart

Issue 1576093003: cpsir unittests: move all unittests into individual files and test runners. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | tests/compiler/dart2js/cps_ir/README.md » ('j') | 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library dart2js.analyze_test.test; 5 library dart2js.analyze_test.test;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:compiler/src/apiimpl.dart' show 10 import 'package:compiler/src/apiimpl.dart' show
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 }; 42 };
43 43
44 const List<String> SKIP_LIST = const <String>[ 44 const List<String> SKIP_LIST = const <String>[
45 // Helper files: 45 // Helper files:
46 "dart2js_batch2_run.dart", 46 "dart2js_batch2_run.dart",
47 "http_launch_data/", 47 "http_launch_data/",
48 "mirrors_helper.dart", 48 "mirrors_helper.dart",
49 "path%20with%20spaces/", 49 "path%20with%20spaces/",
50 "one_line_dart_program.dart", 50 "one_line_dart_program.dart",
51 "sourcemaps/invokes_test_file.dart", 51 "sourcemaps/invokes_test_file.dart",
52 "cps_ir/input/",
52 // No longer maintained: 53 // No longer maintained:
53 "backend_dart/", 54 "backend_dart/",
54 // Broken tests: 55 // Broken tests:
55 "http_test.dart", 56 "http_test.dart",
56 ]; 57 ];
57 58
58 main(List<String> arguments) { 59 main(List<String> arguments) {
59 bool verbose = arguments.contains('-v'); 60 bool verbose = arguments.contains('-v');
60 61
61 List<String> options = <String>[ 62 List<String> options = <String>[
(...skipping 11 matching lines...) Expand all
73 if (entity is File && entity.path.endsWith('.dart')) { 74 if (entity is File && entity.path.endsWith('.dart')) {
74 Uri file = Uri.base.resolve(nativeToUriPath(entity.path)); 75 Uri file = Uri.base.resolve(nativeToUriPath(entity.path));
75 if (!SKIP_LIST.any((skip) => file.path.contains(skip))) { 76 if (!SKIP_LIST.any((skip) => file.path.contains(skip))) {
76 uriList.add(file); 77 uriList.add(file);
77 } 78 }
78 } 79 }
79 } 80 }
80 await analyze(uriList, WHITE_LIST, mode: AnalysisMode.URI); 81 await analyze(uriList, WHITE_LIST, mode: AnalysisMode.URI);
81 }); 82 });
82 } 83 }
OLDNEW
« no previous file with comments | « no previous file | tests/compiler/dart2js/cps_ir/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698