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

Unified Diff: tests/isolate/src/SerializationTest.dart

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 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
Index: tests/isolate/src/SerializationTest.dart
diff --git a/tests/isolate/src/SerializationTest.dart b/tests/isolate/src/SerializationTest.dart
index 0f71af7731220773c44356bc1b43052e9bbf1fb3..6e0acfac76eed3f14fd088b4a8c1c88245e63ce0 100644
--- a/tests/isolate/src/SerializationTest.dart
+++ b/tests/isolate/src/SerializationTest.dart
@@ -9,18 +9,19 @@
// Serialization test.
// ---------------------------------------------------------------------------
#library('SerializationTest');
-#import("dart:coreimpl");
+#import("dart:isolate");
+#import("../../../lib/isolate/frog/messages.dart");
main() {
- testAllTypes(copy);
- testAllTypes(serialize);
+ testAllTypes(_copy);
+ testAllTypes(_serialize);
}
-copy(x) {
+_copy(x) {
return new Copier().traverse(x);
}
-serialize(x) {
+_serialize(x) {
Serializer serializer = new Serializer();
Deserializer deserializer = new Deserializer();
return deserializer.deserialize(serializer.traverse(x));

Powered by Google App Engine
This is Rietveld 408576698