| Index: tests/isolate/src/SerializationTest.dart
|
| diff --git a/tests/isolate/src/SerializationTest.dart b/tests/isolate/src/SerializationTest.dart
|
| index 0f71af7731220773c44356bc1b43052e9bbf1fb3..9f8de80f3bce6768b11d6d64bb5bf6a74d83ef53 100644
|
| --- a/tests/isolate/src/SerializationTest.dart
|
| +++ b/tests/isolate/src/SerializationTest.dart
|
| @@ -9,21 +9,12 @@
|
| // Serialization test.
|
| // ---------------------------------------------------------------------------
|
| #library('SerializationTest');
|
| -#import("dart:coreimpl");
|
| +#import('dart:isolate');
|
|
|
| main() {
|
| - testAllTypes(copy);
|
| - testAllTypes(serialize);
|
| -}
|
| -
|
| -copy(x) {
|
| - return new Copier().traverse(x);
|
| -}
|
| -
|
| -serialize(x) {
|
| - Serializer serializer = new Serializer();
|
| - Deserializer deserializer = new Deserializer();
|
| - return deserializer.deserialize(serializer.traverse(x));
|
| + // TODO(sigmund): fix once we can disable privacy for testing (bug #1882)
|
| + testAllTypes(TestingOnly.copy);
|
| + testAllTypes(TestingOnly.serialize);
|
| }
|
|
|
| void testAllTypes(Function f) {
|
|
|