Index: tests/compiler/dart2js/serialization/model_test.dart |
diff --git a/tests/compiler/dart2js/serialization/model_test.dart b/tests/compiler/dart2js/serialization/model_test.dart |
index 9da9f8df0bd5e60fd4e972953dfc08ab05ebf414..c0462ff52c5ef53943f374830b931a0b25be4706 100644 |
--- a/tests/compiler/dart2js/serialization/model_test.dart |
+++ b/tests/compiler/dart2js/serialization/model_test.dart |
@@ -10,23 +10,12 @@ import 'package:async_helper/async_helper.dart'; |
import 'package:expect/expect.dart'; |
import 'package:compiler/src/closure.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/common/resolution.dart'; |
import 'package:compiler/src/compiler.dart'; |
-import 'package:compiler/src/dart_types.dart'; |
import 'package:compiler/src/elements/elements.dart'; |
import 'package:compiler/src/filenames.dart'; |
-import 'package:compiler/src/serialization/element_serialization.dart'; |
-import 'package:compiler/src/serialization/impact_serialization.dart'; |
-import 'package:compiler/src/serialization/json_serializer.dart'; |
-import 'package:compiler/src/serialization/serialization.dart'; |
import 'package:compiler/src/serialization/equivalence.dart'; |
-import 'package:compiler/src/serialization/task.dart'; |
import 'package:compiler/src/tree/nodes.dart'; |
-import 'package:compiler/src/universe/world_impact.dart'; |
import 'package:compiler/src/universe/class_set.dart'; |
-import 'package:compiler/src/universe/use.dart'; |
import '../memory_compiler.dart'; |
import 'helper.dart'; |
import 'test_data.dart'; |
@@ -79,7 +68,7 @@ Future checkModels( |
memorySourceFiles: sourceFiles, |
options: [Flags.analyzeOnly]); |
compilerDeserialized.resolution.retainCachesForTesting = true; |
- deserialize(compilerDeserialized, serializedData); |
+ compilerDeserialized.serialization.deserializeFromText(serializedData); |
await compilerDeserialized.run(entryPoint); |
compilerDeserialized.phase = Compiler.PHASE_DONE_RESOLVING; |
compilerDeserialized.world.populate(); |