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

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

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 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/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);

Powered by Google App Engine
This is Rietveld 408576698