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

Unified Diff: tests/compiler/dart2js/analyze_test_test.dart

Issue 1805563002: Revert "Delete support for source mirrors" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/mirrors/source_mirrors.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/analyze_test_test.dart
diff --git a/tests/compiler/dart2js/analyze_test_test.dart b/tests/compiler/dart2js/analyze_test_test.dart
index 0eb0883b2e36c7197a4789e3374253cb24c14e95..5e28cf0c3f8e8bcc063e7a584ef972716342177a 100644
--- a/tests/compiler/dart2js/analyze_test_test.dart
+++ b/tests/compiler/dart2js/analyze_test_test.dart
@@ -26,16 +26,25 @@ import 'memory_compiler.dart';
*/
// TODO(johnniwinther): Support canonical URIs as keys.
const Map<String, List/*<String|MessageKind>*/> WHITE_LIST = const {
+ // Several tests import mirrors; any of these might trigger the warning.
+ ".dart": const [
+ MessageKind.IMPORT_EXPERIMENTAL_MIRRORS,
+ ],
"/test/src/util/": const [
"Library 'package:async/async.dart' doesn't export a "
"'ForkableStream' declaration.",
],
+ "mirrors_test.dart": const [
+ MessageKind.INVALID_SYMBOL,
+ MessageKind.PRIVATE_IDENTIFIER,
+ ],
};
const List<String> SKIP_LIST = const <String>[
// Helper files:
"dart2js_batch2_run.dart",
"http_launch_data/",
+ "mirrors_helper.dart",
"path%20with%20spaces/",
"one_line_dart_program.dart",
"sourcemaps/invokes_test_file.dart",
« no previous file with comments | « pkg/compiler/lib/src/mirrors/source_mirrors.dart ('k') | tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698