| Index: pkg/serialization/test/serialization_test.dart
|
| diff --git a/pkg/serialization/test/serialization_test.dart b/pkg/serialization/test/serialization_test.dart
|
| index 0729fdd10ec87ad0b6087c3f8bb74f11fdafaf9c..47c8a6ae501c7c50419bf087717a7b3312e04c92 100644
|
| --- a/pkg/serialization/test/serialization_test.dart
|
| +++ b/pkg/serialization/test/serialization_test.dart
|
| @@ -517,6 +517,15 @@ main() {
|
| expect(new Reader(s).asReference(map["person"]) is Reference, isTrue);
|
| });
|
|
|
| + test("MirrorRule with lookup by qualified name rather than named object", () {
|
| + var s = new Serialization()..addRule(new MirrorRule());
|
| + var m = reflectClass(Address);
|
| + var output = s.write(m);
|
| + var input = s.read(output);
|
| + expect(input is ClassMirror, isTrue);
|
| + expect(MirrorSystem.getName(input.simpleName), "Address");
|
| + });
|
| +
|
| }
|
|
|
| /******************************************************************************
|
| @@ -658,7 +667,7 @@ Serialization nodeSerializerNonReflective(Node n) {
|
|
|
| /**
|
| * Run a round-trip test on a simple tree of nodes, using a serialization
|
| - * that's returned by the [serializerSetup] function.
|
| + * that's returned by the [serializerSetUp] function.
|
| */
|
| runRoundTripTest(Function serializerSetUp) {
|
| Node n1 = new Node("1"), n2 = new Node("2"), n3 = new Node("3");
|
|
|