Searched refs:assertSame (Results 1 - 25 of 539) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-1624-strict.js38 assertSame(0, no_touch);
44 assertSame(0, no_touch);
50 assertSame(0, no_touch);
56 assertSame(4, no_touch);
64 assertSame(0, no_touch);
66 assertSame(0, no_touch);
74 assertSame(0, no_touch);
76 assertSame(0, no_touch);
84 assertSame(0, no_touch);
86 assertSame(
[all...]
H A Dregress-1624.js37 assertSame(0, no_touch);
43 assertSame(0, no_touch);
49 assertSame(3, no_touch);
55 assertSame(4, no_touch);
63 assertSame(0, no_touch);
65 assertSame(0, no_touch);
73 assertSame(0, no_touch);
75 assertSame(0, no_touch);
83 assertSame(7, no_touch);
85 assertSame(
[all...]
H A Dregress-350887.js6 assertSame(0, arr.length);
7 assertSame(undefined, arr[0]);
10 assertSame(2501866688, arr.length);
11 assertSame(undefined, arr[0]);
H A Dregress-crbug-150545.js40 assertSame(3, arguments.length);
41 assertSame(1, arguments[0]);
42 assertSame(2, arguments[1]);
43 assertSame(3, arguments[2]);
H A Dregress-crbug-146910.js29 assertSame(0, x.length);
30 assertSame(undefined, x[0]);
33 assertSame(1, x.length);
34 assertSame(7, x[0]);
37 assertSame(1, x.length);
38 assertSame(7, x[0]);
H A Dregress-1530.js38 assertSame(f.prototype, a);
39 assertSame(f.prototype.foo, 'bar');
40 assertSame(new f().foo, 'bar');
41 assertSame(Object.getPrototypeOf(new f()), a);
42 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, a);
50 assertSame(f.prototype, b);
51 assertSame(f.prototype.foo, 'baz');
52 assertSame(new f().foo, 'baz');
53 assertSame(Object.getPrototypeOf(new f()), b);
54 assertSame(Objec
[all...]
H A Dregress-123512.js40 assertSame(1, f(1));
41 assertSame(2, f(2));
43 assertSame(3, f(3));
48 assertSame(4, f(4));
49 assertSame(5, f(5));
51 assertSame(6, f(6));
65 assertSame(3, g(1, 2));
66 assertSame(5, g(2, 3));
68 assertSame(7, g(3, 4));
74 assertSame(
[all...]
H A Dregress-2030.js47 assertSame(1, f(aa));
48 assertSame(1, f(aa));
49 assertSame(2, f(bb));
50 assertSame(2, f(bb));
52 assertSame(1, f(aa));
53 assertSame(2, f(bb));
H A Dregress-2539.js41 assertSame(2, arguments.length);
42 assertSame(10, arguments[0]);
43 assertSame(11, arguments[1]);
47 assertSame(2, arguments.length);
48 assertSame(10, arguments[0]);
49 assertSame(11, arguments[1]);
H A Dregress-1172.js36 assertSame(f, f.prototype.constructor);
39 assertSame(f, o.constructor);
H A Dregress-2565.js31 assertSame(p, o.__proto__);
32 assertSame(p, Object.getPrototypeOf(o));
H A Dregress-2931.js34 assertSame(100, u8.byteLength);
H A Dregress-crbug-157520.js36 assertSame(2, f(1));
H A Dregress-1973.js36 get: function() { "use strict"; assertSame(strict_type, typeof this); },
37 set: function() { "use strict"; assertSame(strict_type, typeof this); }
43 get: function() { assertSame(sloppy_type, typeof this); },
44 set: function() { assertSame(sloppy_type, typeof this); }
H A Dregress-crbug-135008.js45 assertSame(23, scope.f());
H A Dregress-crbug-163530.js37 assertSame(0, arguments.length);
42 assertSame(0, arguments.length);
47 assertSame(0, object.a());
48 assertSame(0, object.a());
50 assertSame(0, object.a());
52 assertSame(0, object.a());
64 assertSame(0, arguments.length);
69 assertSame(8, arguments.length);
74 assertSame(8, object.a());
75 assertSame(
[all...]
/external/v8/test/mjsunit/compiler/
H A Dliterals-optimized.js45 assertSame(6, array.length);
46 assertSame(0, array[0]);
47 assertSame(a, array[1]);
48 assertSame(0, array[2]);
49 assertSame(b, array[3]);
50 assertSame(0, array[4]);
51 assertSame(c, array[5]);
61 assertSame(4, array.length);
62 assertSame(2, array[0].length);
63 assertSame(
[all...]
H A Dinline-closures.js45 assertSame(1, object.f({value:1}));
46 assertSame(2, object.f({value:2}));
48 assertSame(3, object.f({value:3}));
49 assertSame(undefined, object.f({}));
/external/v8/test/mjsunit/bugs/
H A Dbug-proto.js34 assertSame(this, Realm.global(realmA));
35 assertSame(Realm.eval(realmB, "this"), Realm.global(realmB));
42 assertSame(undefined, Realm.eval(realmB, "this.x"));
43 assertSame(undefined, Realm.eval(realmB, "Realm.shared.x"));
47 assertSame(undefined, this.y);
53 assertSame(1, Realm.eval(realmB, "Realm.shared.a"));
54 assertSame(2, Realm.eval(realmB, "Realm.shared.b"));
57 assertSame(undefined, Realm.eval(realmB, "Realm.shared.__proto__"));
60 assertSame(1, o.a);
61 assertSame(undefine
[all...]
/external/v8/test/mjsunit/harmony/regress/
H A Dregress-2225.js32 assertSame('x', key);
39 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, 'foo'));
40 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, 'bar'));
41 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, '123'));
42 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, '456'));
46 assertSame(undefined, Object.prototype.__lookupGetter__.call(object, 'foo'));
47 assertSame(undefined, Object.prototype.__lookupSetter__.call(object, 'bar'));
48 assertSame(undefined, Object.prototype.__lookupGetter__.call(object, '123'));
49 assertSame(undefined, Object.prototype.__lookupSetter__.call(object, '456'));
55 assertSame(2
[all...]
/external/v8/test/mjsunit/
H A Darray-non-smi-length.js37 assertSame(0x10000, f(a));
38 assertSame(0x10000, f(a));
42 assertSame(0x100000000, f(a));
H A Dcontextual-calls.js57 assertSame(globals[0], Realm.shared.results[0]);
58 assertSame(undefined, Realm.shared.results[1]);
59 assertSame(globals[i], Realm.shared.results[2]);
60 assertSame(globals[i], Realm.shared.results[3]);
66 assertSame(globals[0], Realm.eval(realms[i],'return_this.apply()')) ;
67 assertSame(undefined, Realm.eval(realms[i],'return_this_strict.apply()'));
68 assertSame(globals[0], Realm.eval(realms[i],'return_this.apply(null)')) ;
69 assertSame(null, Realm.eval(realms[i],'return_this_strict.apply(null)'));
71 assertSame(globals[0], Realm.eval(realms[i],'return_this.call()')) ;
72 assertSame(undefine
[all...]
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DLazyStringArrayListTest.java60 assertSame(STRING_A, list.get(0));
61 assertSame(STRING_B, list.get(1));
62 assertSame(STRING_C, list.get(2));
65 assertSame(STRING_C, list.get(1));
68 assertSame(STRING_A, list.get(0));
69 assertSame(STRING_C, list.get(1));
76 assertSame(byteStringList.get(0), list.getByteString(0));
77 assertSame(byteStringList.get(1), list.getByteString(1));
87 assertSame(BYTE_STRING_A, list.getByteString(0));
88 assertSame(BYTE_STRING_
[all...]
/external/v8/test/mjsunit/harmony/
H A Dtypedarrays.js32 assertSame(expectedByteLength, ab.byteLength);
54 assertSame(0, ab.byteLength);
61 assertSame(1024, ab.byteLength);
75 assertSame(expectedResultLen, slice.byteLength);
78 assertSame(0xCA, a2[i]);
85 assertSame(512, ab1.byteLength);
121 assertSame(elementSize, constr.BYTES_PER_ELEMENT);
127 assertSame(elementSize, a0.BYTES_PER_ELEMENT);
128 assertSame(30, a0.length);
129 assertSame(3
[all...]
/external/v8/test/mjsunit/es6/regress/
H A Dregress-2034.js34 assertSame(undefined, map.get(key));
39 assertSame(1, map.get(key));
44 assertSame(undefined, map.get(key));

Completed in 280 milliseconds

1234567891011>>