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

Unified Diff: tests/compiler/dart2js/bad_output_io_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
« no previous file with comments | « tests/compiler/dart2js/analyze_only_test.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/bad_output_io_test.dart
diff --git a/tests/compiler/dart2js/bad_output_io_test.dart b/tests/compiler/dart2js/bad_output_io_test.dart
index 5c12e719a6e147e22e99575f29b1a482655e293b..943a97d7923da2b81697675af697e983433383fb 100644
--- a/tests/compiler/dart2js/bad_output_io_test.dart
+++ b/tests/compiler/dart2js/bad_output_io_test.dart
@@ -6,10 +6,12 @@
library dart2js.test.bad_output_io;
+import 'dart:async';
import 'dart:io' show exit;
import 'package:expect/expect.dart';
import 'package:compiler/compiler.dart' show Diagnostic;
+import 'package:compiler/compiler_new.dart' show OutputType;
import 'package:compiler/src/dart2js.dart'
show exitFunc, compileFunc, compile, diagnosticHandler;
import 'package:compiler/src/source_file_provider.dart'
@@ -56,7 +58,8 @@ class CollectingFormattingDiagnosticHandler
testOutputProvider(options, input, diagnostics, output) {
diagnosticHandler = new CollectingFormattingDiagnosticHandler();
- output.createEventSink("/non/existing/directory/should/fail/file", "js");
+ output.createOutputSink(
+ "/non/existing/directory/should/fail/file", "js", OutputType.js);
}
void main() {
« no previous file with comments | « tests/compiler/dart2js/analyze_only_test.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698