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

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

Issue 2690083002: Add MultiSourceInformationStrategy (Closed)
Patch Set: Cleanup. Created 3 years, 10 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 | « tests/compiler/dart2js/output_collector.dart ('k') | tests/compiler/dart2js/source_mapping_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/output_type_test.dart
diff --git a/tests/compiler/dart2js/output_type_test.dart b/tests/compiler/dart2js/output_type_test.dart
index 5dbab62c32f5398637c4e97a9c853c308ddc9fca..ff696858a3fcd25d98fe0d8c518c61faa197a58b 100644
--- a/tests/compiler/dart2js/output_type_test.dart
+++ b/tests/compiler/dart2js/output_type_test.dart
@@ -11,6 +11,7 @@ import 'dart:io';
import 'package:async_helper/async_helper.dart';
import 'package:compiler/compiler_new.dart';
import 'package:compiler/src/dart2js.dart';
+import 'package:compiler/src/commandline_options.dart';
import 'package:compiler/src/null_compiler_output.dart';
import 'package:compiler/src/options.dart';
import 'package:compiler/src/source_file_provider.dart';
@@ -75,7 +76,7 @@ main() {
'tests/compiler/dart2js/data/deferred_helper.dart',
'--out=custom.js',
'--deferred-map=def/deferred.json',
- '--dump-info',
+ Flags.dumpInfo,
], [
'custom.js', 'custom.js.map',
'custom.js_1.part.js', 'custom.js_1.part.js.map',
@@ -89,12 +90,15 @@ main() {
TRACE_FILTER_PATTERN_FOR_TEST = null;
await test([
'tests/compiler/dart2js/data/deferred_helper.dart',
- '--csp',
+ Flags.useContentSecurityPolicy,
+ Flags.useMultiSourceInfo,
], [
'out.js',
'out.js.map',
+ 'out.js.map.v2',
'out.js_1.part.js',
'out.js_1.part.js.map',
+ 'out.js_1.part.js.map.v2',
]);
await test([
'tests/compiler/dart2js/data/deferred_helper.dart',
« no previous file with comments | « tests/compiler/dart2js/output_collector.dart ('k') | tests/compiler/dart2js/source_mapping_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698