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

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

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. 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
« no previous file with comments | « tests/compiler/dart2js/analyze_test_test.dart ('k') | tests/compiler/dart2js/class_set_test.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 68912d81bd3f9a337c178c6f14e01e430dd8219e..ada95c0a43373b968979ecf9ad539ebc92740a68 100644
--- a/tests/compiler/dart2js/bad_output_io_test.dart
+++ b/tests/compiler/dart2js/bad_output_io_test.dart
@@ -6,12 +6,18 @@
library dart2js.test.bad_output_io;
+import 'dart:async' show Future;
import 'dart:io' show exit;
import 'package:expect/expect.dart';
import 'package:compiler/compiler.dart' show Diagnostic;
import 'package:compiler/compiler_new.dart'
- show CompilerDiagnostics, CompilerInput, CompilerOutput, OutputType;
+ show
+ CompilationResult,
+ CompilerDiagnostics,
+ CompilerInput,
+ CompilerOutput,
+ OutputType;
import 'package:compiler/src/dart2js.dart'
show exitFunc, compileFunc, compile, diagnosticHandler;
import 'package:compiler/src/source_file_provider.dart'
@@ -58,11 +64,15 @@ class CollectingFormattingDiagnosticHandler
int throwOnErrorCount;
}
-testOutputProvider(CompilerOptions options, CompilerInput input,
- CompilerDiagnostics diagnostics, CompilerOutput output) {
+Future<CompilationResult> testOutputProvider(
+ CompilerOptions options,
+ CompilerInput input,
+ CompilerDiagnostics diagnostics,
+ CompilerOutput output) {
diagnosticHandler = new CollectingFormattingDiagnosticHandler();
output.createOutputSink(
"/non/existing/directory/should/fail/file", "js", OutputType.js);
+ return null;
}
void main() {
« no previous file with comments | « tests/compiler/dart2js/analyze_test_test.dart ('k') | tests/compiler/dart2js/class_set_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698