Lines Matching defs:test
25 "This test checks that functions on the array prototype correctly handle exceptions from property getters when called on non-array objects."
28 function test(f) {
48 // This test makes sense for these functions: (they should get all properties on the array)
49 shouldBeTrue("test(Array.prototype.sort)");
50 shouldBeTrue("test(Array.prototype.every)");
51 shouldBeTrue("test(Array.prototype.some)");
52 shouldBeTrue("test(Array.prototype.forEach)");
53 shouldBeTrue("test(Array.prototype.map)");
54 shouldBeTrue("test(Array.prototype.filter)");
55 shouldBeTrue("test(Array.prototype.reduce)");
56 shouldBeTrue("test(Array.prototype.reduceRight)");
59 shouldBeTrue("test(Array.prototype.join)");
60 shouldBeTrue("test(Array.prototype.pop)");
61 shouldBeFalse("test(Array.prototype.push)");
62 shouldBeTrue("test(Array.prototype.reverse)");
63 shouldBeTrue("test(Array.prototype.shift)");
64 shouldBeTrue("test(Array.prototype.slice)");
65 shouldBeTrue("test(Array.prototype.splice)");
66 shouldBeTrue("test(Array.prototype.unshift)");
67 shouldBeTrue("test(Array.prototype.indexOf)");
68 shouldBeTrue("test(Array.prototype.lastIndexOf)");