Searched refs:fromJSON (Results 1 - 14 of 14) sorted by relevance

/external/v8/test/mjsunit/
H A Dmirror-number.js51 var fromJSON = eval('(' + json + ')');
52 assertEquals('number', fromJSON.type);
54 assertEquals(n, fromJSON.value);
57 assertTrue(typeof fromJSON.value == 'string');
59 assertEquals('Infinity', fromJSON.value);
61 assertEquals('-Infinity', fromJSON.value);
63 assertEquals('NaN', fromJSON.value);
H A Dmirror-unresolved-function.js69 var fromJSON = eval('(' + json + ')'); variable
70 assertEquals('function', fromJSON.type, 'Unexpected mirror type in JSON');
71 assertEquals('Function', fromJSON.className, 'Unexpected mirror class name in JSON');
72 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON');
73 assertEquals('undefined', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
74 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object handle in JSON');
75 assertEquals('undefined', refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type in JSON');
76 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype object handle in JSON');
77 assertEquals('undefined', refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype object type in JSON');
78 assertFalse(fromJSON
[all...]
H A Dmirror-function.js73 var fromJSON = eval('(' + json + ')');
74 assertEquals('function', fromJSON.type);
75 assertEquals('Function', fromJSON.className);
76 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type);
77 assertEquals('Function', refs.lookup(fromJSON.constructorFunction.ref).name);
78 assertTrue(fromJSON.resolved);
79 assertEquals(f.name, fromJSON.name);
80 assertEquals(f.toString(), fromJSON.source);
83 assertEquals(f.toString(), fromJSON.text);
H A Dmirror-boolean.js51 var fromJSON = eval('(' + json + ')');
52 assertEquals('boolean', fromJSON.type, json);
53 assertEquals(b, fromJSON.value, json);
H A Dmirror-array.js76 var fromJSON = eval('(' + json + ')');
77 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
78 assertEquals('Array', fromJSON.className, 'Unexpected mirror class name in JSON');
79 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON');
80 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
81 assertEquals('Array', refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor function name in JSON');
82 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON');
83 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON');
87 for (var i = 0; i < fromJSON.properties.length; i++) {
88 if (fromJSON
[all...]
H A Dmirror-null.js49 var fromJSON = eval('(' + json + ')'); variable
50 assertEquals('null', fromJSON.type);
H A Dmirror-script.js67 var fromJSON = JSON.parse(json);
68 assertEquals('script', fromJSON.type);
69 name = fromJSON.name;
75 assertEquals(0, fromJSON.lineOffset);
76 assertEquals(0, fromJSON.columnOffset);
78 assertEquals(file_lines, fromJSON.lineCount);
80 assertEquals(type, fromJSON.scriptType);
81 assertEquals(compilation_type, fromJSON.compilationType);
H A Dmirror-undefined.js49 var fromJSON = eval('(' + json + ')'); variable
50 assertEquals('undefined', fromJSON.type)
H A Dmirror-string.js58 var fromJSON = eval('(' + json + ')');
59 assertEquals('string', fromJSON.type);
61 assertEquals(s, fromJSON.value);
64 fromJSON.value.substring(0, kMaxProtocolStringLength));
65 assertEquals(fromJSON.fromIndex, 0);
66 assertEquals(fromJSON.toIndex, kMaxProtocolStringLength);
H A Dmirror-regexp.js82 var fromJSON = eval('(' + json + ')');
83 assertEquals('regexp', fromJSON.type);
84 assertEquals('RegExp', fromJSON.className);
86 for (var i = 0; i < fromJSON.properties.length; i++) {
87 if (fromJSON.properties[i].name == p) {
89 fromJSON.properties[i].attributes,
92 fromJSON.properties[i].propertyType,
95 fromJSON.properties[i].ref,
98 refs.lookup(fromJSON.properties[i].ref).value,
H A Dmirror-error.js64 var fromJSON = eval('(' + json + ')');
65 assertEquals('error', fromJSON.type);
66 assertEquals('Error', fromJSON.className);
69 for (var i in fromJSON.properties) {
70 var p = fromJSON.properties[i];
81 assertEquals(fromJSON.text, e.toString(), 'toString');
H A Dmirror-object.js92 var fromJSON = eval('(' + json + ')');
93 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
94 assertEquals(cls_name, fromJSON.className, 'Unexpected mirror class name in JSON');
95 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON');
96 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
97 assertEquals(ctor_name, refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor function name in JSON');
98 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object handle in JSON');
99 assertEquals(mirror.protoObject().type(), refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type in JSON');
100 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype object handle in JSON');
101 assertEquals(mirror.prototypeObject().type(), refs.lookup(fromJSON
[all...]
H A Dmirror-date.js52 var fromJSON = eval('(' + json + ')');
53 assertEquals('object', fromJSON.type);
54 assertEquals('Date', fromJSON.className);
55 assertEquals(iso8601, fromJSON.value);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.util_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 103 milliseconds