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

Unified Diff: tests/compiler/dart2js/serialization/compilation_test.dart

Issue 1975153002: Support (de)serialization from command-line (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 7 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/serialization/compilation_test.dart
diff --git a/tests/compiler/dart2js/serialization/compilation_test.dart b/tests/compiler/dart2js/serialization/compilation_test.dart
index 65543d53f9ff17a8e14bd4faeaf42a81b4104c5e..477d27779c44ee76597c3bab05e98bf1e98f1b50 100644
--- a/tests/compiler/dart2js/serialization/compilation_test.dart
+++ b/tests/compiler/dart2js/serialization/compilation_test.dart
@@ -6,10 +6,6 @@ library dart2js.serialization_compilation_test;
import 'dart:async';
import 'package:async_helper/async_helper.dart';
-import 'package:expect/expect.dart';
-import 'package:compiler/src/commandline_options.dart';
-import 'package:compiler/src/common/backend_api.dart';
-import 'package:compiler/src/common/names.dart';
import 'package:compiler/src/compiler.dart';
import 'package:compiler/src/filenames.dart';
import '../memory_compiler.dart';
@@ -52,7 +48,7 @@ Future compile(String serializedData, Uri entryPoint, Test test,
options: [],
outputProvider: outputCollector,
beforeRun: (Compiler compiler) {
- deserialize(compiler, serializedData);
+ compiler.serialization.deserializeFromText(serializedData);
});
if (verbose) {
print(outputCollector.getOutput('', 'js'));
« no previous file with comments | « tests/compiler/dart2js/serialization/analysis_test.dart ('k') | tests/compiler/dart2js/serialization/equivalence_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698