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

Unified Diff: tests/compiler/dart2js/output_type_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/output_collector.dart ('k') | tests/compiler/dart2js/preserve_uris_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/output_type_test.dart
diff --git a/tests/compiler/dart2js/output_type_test.dart b/tests/compiler/dart2js/output_type_test.dart
index d65f0d621a21cfb749e8003b7edb244c5bc93f38..5dbab62c32f5398637c4e97a9c853c308ddc9fca 100644
--- a/tests/compiler/dart2js/output_type_test.dart
+++ b/tests/compiler/dart2js/output_type_test.dart
@@ -26,10 +26,10 @@ class TestRandomAccessFileOutputProvider implements CompilerOutput {
TestRandomAccessFileOutputProvider(this.provider);
@override
- EventSink<String> createEventSink(String name, String extension) {
- outputs.add(relativize(
- provider.out, provider.createUri(name, extension), Platform.isWindows));
- return NullSink.outputProvider(name, extension);
+ OutputSink createOutputSink(String name, String extension, OutputType type) {
+ outputs.add(relativize(provider.out,
+ provider.createUri(name, extension, type), Platform.isWindows));
+ return NullSink.outputProvider(name, extension, type);
}
}
« no previous file with comments | « tests/compiler/dart2js/output_collector.dart ('k') | tests/compiler/dart2js/preserve_uris_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698