Lines Matching refs:mirror
29 // Test the mirror object for boolean values
32 // Create mirror and JSON representation.
33 var mirror = debug.MakeMirror(d);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
37 // Check the mirror hierachy.
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.ObjectMirror);
41 assertTrue(mirror instanceof debug.DateMirror);
43 // Check the mirror properties.
44 assertTrue(mirror.isDate());
45 assertEquals('object', mirror.type());
46 assertFalse(mirror.isPrimitive());
49 assertEquals(iso8601, mirror.toText());