Home | History | Annotate | Download | only in mjsunit

Lines Matching full:serialized

113         // Check that serialized handle is correct.
114 assertEquals(properties[i].value().handle(), fromJSON.properties[i].ref, 'Unexpected serialized handle');
116 // Check that serialized name is correct.
117 assertEquals(properties[i].name(), fromJSON.properties[i].name, 'Unexpected serialized name');
119 // If property type is normal property type is not serialized.
121 assertEquals(properties[i].propertyType(), fromJSON.properties[i].propertyType, 'Unexpected serialized property type');
123 assertTrue(typeof(fromJSON.properties[i].propertyType) === 'undefined', 'Unexpected serialized property type');
126 // If there are no attributes attributes are not serialized.
128 assertEquals(properties[i].attributes(), fromJSON.properties[i].attributes, 'Unexpected serialized attributes');
130 assertTrue(typeof(fromJSON.properties[i].attributes) === 'undefined', 'Unexpected serialized attributes');
133 // Lookup the serialized object from the handle reference.
135 assertTrue(o != void 0, 'Referenced object is not serialized');
137 assertEquals(properties[i].value().type(), o.type, 'Unexpected serialized property type for ' + name);
146 'Unexpected serialized property value for ' + name);
148 assertEquals(properties[i].value().value(), o.value, 'Unexpected serialized property value for ' + name);
151 assertEquals(properties[i].value().source(), o.source, 'Unexpected serialized property value for ' + name);