aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js56
1 files changed, 0 insertions, 56 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js b/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js
deleted file mode 100644
index 14e3ac778..000000000
--- a/test/suite/sputnik_converted/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.4.4.7_A4_T2;
- * @section: 15.4.4.7;
- * @assertion: Check ToUint32(length) for non Array objects;
- * @description: length = 4294967295;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.4.4.7_A4_T2",
-
-path: "TestCases/15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.7_Array_prototype_push/S15.4.4.7_A4_T2.js",
-
-assertion: "Check ToUint32(length) for non Array objects",
-
-description: "length = 4294967295",
-
-test: function testcase() {
- var obj = {};
-obj.push = Array.prototype.push;
-obj.length = 4294967295;
-
-//CHECK#1
-var push = obj.push("x", "y", "z");
-if (push !== 4294967298) {
- $ERROR('#1: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z") === 4294967298. Actual: ' + (push));
-}
-
-//CHECK#2
-if (obj.length !== 4294967298) {
- $ERROR('#2: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj.length === 4294967298. Actual: ' + (obj.length));
-}
-
-//CHECK#3
-if (obj[4294967295] !== "x") {
- $ERROR('#3: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj[4294967295] === "x". Actual: ' + (obj[4294967295]));
-}
-
-//CHECK#4
-if (obj[4294967296] !== "y") {
- $ERROR('#4: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj[4294967296] === "y". Actual: ' + (obj[4294967296]));
-}
-
-//CHECK#5
-if (obj[4294967297] !== "z") {
- $ERROR('#5: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z"); obj[4294967297] === "z". Actual: ' + (obj[4294967297]));
-}
-
- }
-});
-