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

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

Issue 2690063002: Refactor CompilerOutput (Closed)
Patch Set: Updated cf. comments 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
Index: tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart
diff --git a/tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart b/tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart
index 4bf5bb6be504065c7cf9dfe2fc4f93373da89707..7259691d48bf869c61bae638fb4ed54362af7004 100644
--- a/tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart
+++ b/tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart
@@ -6,6 +6,7 @@
// Files when using deferred loading.
import 'package:async_helper/async_helper.dart';
+import 'package:compiler/compiler_new.dart';
import 'package:compiler/src/compiler.dart';
import 'package:expect/expect.dart';
import 'memory_compiler.dart';
@@ -31,8 +32,9 @@ void main() {
var foo1 = lib1.find("finalVar");
var ou_lib1 = outputUnitForElement(foo1);
- String mainOutput = collector.getOutput("", "js");
- String lib1Output = collector.getOutput("out_${ou_lib1.name}", "part.js");
+ String mainOutput = collector.getOutput("", OutputType.js);
+ String lib1Output =
+ collector.getOutput("out_${ou_lib1.name}", OutputType.jsPart);
// Test that the deferred globals are not inlined into the main file.
RegExp re1 = new RegExp(r"= .string1");
RegExp re2 = new RegExp(r"= .string2");

Powered by Google App Engine
This is Rietveld 408576698