Lines Matching refs:assertSame
38 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(Object.getOwnPropertyDescriptor(f, 'prototype').value, b);
61 assertSame(f.prototype, c);
62 assertSame(f.prototype.foo, 'other');
63 assertSame(new f().foo, 'other');
64 assertSame(Object.getPrototypeOf(new f()), c);
65 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, c);
72 assertSame(f.prototype, d);
73 assertSame(f.prototype.foo, 'final');
74 assertSame(new f().foo, 'final');
75 assertSame(Object.getPrototypeOf(new f()), d);
76 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, d);