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

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

Issue 1975153002: Support (de)serialization from command-line (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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/analysis_test.dart
diff --git a/tests/compiler/dart2js/serialization/analysis_test.dart b/tests/compiler/dart2js/serialization/analysis_test.dart
index b1a96b56e9cefc45170aab903caabd9268c749ee..f57ccddc09ecbaba3aa1fc8df021abe578922114 100644
--- a/tests/compiler/dart2js/serialization/analysis_test.dart
+++ b/tests/compiler/dart2js/serialization/analysis_test.dart
@@ -12,6 +12,7 @@ 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 'package:compiler/src/serialization/system.dart';
Siggi Cherem (dart-lang) 2016/05/14 01:10:31 unused import? (same thing in the next few files
Johnni Winther 2016/05/17 12:37:34 So it was...
import '../memory_compiler.dart';
import 'helper.dart';
import 'test_data.dart';
@@ -40,7 +41,7 @@ Future analyze(String serializedData, Uri entryPoint, Test test) async {
options: [Flags.analyzeOnly],
diagnosticHandler: diagnosticCollector,
beforeRun: (Compiler compiler) {
- deserialize(compiler, serializedData);
+ compiler.serialization.deserializeFromText(serializedData);
});
if (test != null) {
Expect.equals(test.expectedErrorCount, diagnosticCollector.errors.length,

Powered by Google App Engine
This is Rietveld 408576698