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 943a97d7923da2b81697675af697e983433383fb..68912d81bd3f9a337c178c6f14e01e430dd8219e 100644 |
--- a/tests/compiler/dart2js/bad_output_io_test.dart |
+++ b/tests/compiler/dart2js/bad_output_io_test.dart |
@@ -6,17 +6,19 @@ |
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/compiler_new.dart' |
+ show CompilerDiagnostics, CompilerInput, CompilerOutput, OutputType; |
import 'package:compiler/src/dart2js.dart' |
show exitFunc, compileFunc, compile, diagnosticHandler; |
import 'package:compiler/src/source_file_provider.dart' |
show FormattingDiagnosticHandler; |
+import 'package:compiler/src/options.dart' show CompilerOptions; |
+ |
class CollectingFormattingDiagnosticHandler |
implements FormattingDiagnosticHandler { |
final provider = null; |
@@ -56,7 +58,8 @@ class CollectingFormattingDiagnosticHandler |
int throwOnErrorCount; |
} |
-testOutputProvider(options, input, diagnostics, output) { |
+testOutputProvider(CompilerOptions options, CompilerInput input, |
+ CompilerDiagnostics diagnostics, CompilerOutput output) { |
diagnosticHandler = new CollectingFormattingDiagnosticHandler(); |
output.createOutputSink( |
"/non/existing/directory/should/fail/file", "js", OutputType.js); |