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

Unified Diff: tests/compiler/dart2js/deferred_inline_restrictions_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_inline_restrictions_test.dart
diff --git a/tests/compiler/dart2js/deferred_inline_restrictions_test.dart b/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
index 6014f36326c7fe8abd26855b48433ef01f99f8e0..9b18f8f3063f41fe9d8611f90a0f2ff7b24821b7 100644
--- a/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
+++ b/tests/compiler/dart2js/deferred_inline_restrictions_test.dart
@@ -6,6 +6,7 @@
// allow inlining of empty functions and from main.
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';
@@ -34,9 +35,11 @@ void main() {
// Test that we actually got differnt output units.
Expect.notEquals(ou_lib1.name, ou_lib3.name);
- String mainOutput = collector.getOutput("", "js");
- String lib1Output = collector.getOutput("out_${ou_lib1.name}", "part.js");
- String lib3Output = collector.getOutput("out_${ou_lib3.name}", "part.js");
+ String mainOutput = collector.getOutput("", OutputType.js);
+ String lib1Output =
+ collector.getOutput("out_${ou_lib1.name}", OutputType.jsPart);
+ String lib3Output =
+ collector.getOutput("out_${ou_lib3.name}", OutputType.jsPart);
RegExp re1 = new RegExp(r"inlined as empty");
RegExp re2 = new RegExp(r"inlined from main");
« no previous file with comments | « tests/compiler/dart2js/deferred_emit_type_checks_test.dart ('k') | tests/compiler/dart2js/deferred_load_mapping_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698