aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.4/15.4.4/15.4.4.4
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.4/15.4.4/15.4.4.4')
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-b-iii-3-b-1.js96
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-c-i-1.js104
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T1.js18
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T2.js18
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js18
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T4.js18
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T1.js16
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T2.js16
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A3_T1.js13
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.1.js12
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.2.js16
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.3.js14
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.4.js12
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.5.js12
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.6.js11
-rw-r--r--test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.7.js13
16 files changed, 187 insertions, 220 deletions
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-b-iii-3-b-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-b-iii-3-b-1.js
index 88be1b8c2..c9b323dcc 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-b-iii-3-b-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-b-iii-3-b-1.js
@@ -1,47 +1,49 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-b-iii-3-b-1.js
- * @description Array.prototype.concat will concat an Array when index property (read-only) exists in Array.prototype (Step 5.b.iii.3.b)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- value: 100,
- writable: false,
- configurable: true
- });
-
- var oldArr = [101];
-
- var newArr = Array.prototype.concat.call(oldArr);
-
- var verifyValue = false;
- verifyValue = newArr[0] === 101;
-
- var verifyEnumerable = false;
- for (var p in newArr) {
- if (p === "0" && newArr.hasOwnProperty("0")) {
- verifyEnumerable = true;
- }
- }
-
- var verifyWritable = false;
- newArr[0] = 12;
- verifyWritable = newArr[0] === 12;
-
- var verifyConfigurable = false;
- delete newArr[0];
- verifyConfigurable = newArr.hasOwnProperty("0");
-
- return verifyValue && !verifyConfigurable && verifyEnumerable && verifyWritable;
- } finally {
- delete Array.prototype[0];
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.concat will concat an Array when index property
+ (read-only) exists in Array.prototype (Step 5.b.iii.3.b)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ value: 100,
+ writable: false,
+ configurable: true
+ });
+
+ var oldArr = [101];
+
+ var newArr = Array.prototype.concat.call(oldArr);
+
+ var verifyValue = false;
+ verifyValue = newArr[0] === 101;
+
+ var verifyEnumerable = false;
+ for (var p in newArr) {
+ if (p === "0" && newArr.hasOwnProperty("0")) {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyWritable = false;
+ newArr[0] = 12;
+ verifyWritable = newArr[0] === 12;
+
+ var verifyConfigurable = false;
+ delete newArr[0];
+ verifyConfigurable = newArr.hasOwnProperty("0");
+
+ return verifyValue && !verifyConfigurable && verifyEnumerable && verifyWritable;
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-c-i-1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-c-i-1.js
index 67bac366c..96f7abc3b 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-c-i-1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-c-i-1.js
@@ -1,51 +1,53 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.4/15.4.4/15.4.4.4/15.4.4.4-5-c-i-1.js
- * @description Array.prototype.concat will concat an Array when index property (read-only) exists in Array.prototype (Step 5.c.i)
- */
-
-
-function testcase() {
- try {
- Object.defineProperty(Array.prototype, "0", {
- value: 100,
- writable: false,
- configurable: true
- });
-
- var newArr = Array.prototype.concat.call(101);
-
- var hasProperty = newArr.hasOwnProperty("0");
-
- var instanceOfVerify = typeof newArr[0]==="object";
-
- var verifyValue = false;
- verifyValue = newArr[0] == 101;
-
- var verifyEnumerable = false;
- for (var p in newArr) {
- if (p === "0" && newArr.hasOwnProperty("0")) {
- verifyEnumerable = true;
- }
- }
-
- var verifyWritable = false;
- newArr[0] = 12;
- verifyWritable = newArr[0] === 12;
-
- var verifyConfigurable = false;
- delete newArr[0];
- verifyConfigurable = newArr.hasOwnProperty("0");
-
- return hasProperty && instanceOfVerify && verifyValue && !verifyConfigurable && verifyEnumerable && verifyWritable;
-
-
- } finally {
- delete Array.prototype[0];
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Array.prototype.concat will concat an Array when index property
+ (read-only) exists in Array.prototype (Step 5.c.i)
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ try {
+ Object.defineProperty(Array.prototype, "0", {
+ value: 100,
+ writable: false,
+ configurable: true
+ });
+
+ var newArr = Array.prototype.concat.call(101);
+
+ var hasProperty = newArr.hasOwnProperty("0");
+
+ var instanceOfVerify = typeof newArr[0]==="object";
+
+ var verifyValue = false;
+ verifyValue = newArr[0] == 101;
+
+ var verifyEnumerable = false;
+ for (var p in newArr) {
+ if (p === "0" && newArr.hasOwnProperty("0")) {
+ verifyEnumerable = true;
+ }
+ }
+
+ var verifyWritable = false;
+ newArr[0] = 12;
+ verifyWritable = newArr[0] === 12;
+
+ var verifyConfigurable = false;
+ delete newArr[0];
+ verifyConfigurable = newArr.hasOwnProperty("0");
+
+ return hasProperty && instanceOfVerify && verifyValue && !verifyConfigurable && verifyEnumerable && verifyWritable;
+
+
+ } finally {
+ delete Array.prototype[0];
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T1.js
index f5eb4eeab..49b910a92 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T1.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the concat method is called with zero or more arguments item1, item2,
- * etc., it returns an array containing the array elements of the object followed by
- * the array elements of each argument in order
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T1.js
- * @description Checking this algorithm, items are Array object
- */
+/*---
+info: >
+ When the concat method is called with zero or more arguments item1, item2,
+ etc., it returns an array containing the array elements of the object followed by
+ the array elements of each argument in order
+description: Checking this algorithm, items are Array object
+---*/
var x = new Array();
var y = new Array(0,1);
@@ -49,5 +48,4 @@ if (arr[4] !== 4) {
//CHECK#6
if (arr.length !== 5) {
$ERROR('#6: var x = new Array(); var y = new Array(0,1); var z = new Array(2,3,4); var arr = x.concat(y,z); arr.length === 5. Actual: ' + (arr.length));
-}
-
+}
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T2.js
index 35c104f7d..9812130ef 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T2.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the concat method is called with zero or more arguments item1, item2,
- * etc., it returns an array containing the array elements of the object followed by
- * the array elements of each argument in order
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T2.js
- * @description Checking this algorithm, items are objects and primitives
- */
+/*---
+info: >
+ When the concat method is called with zero or more arguments item1, item2,
+ etc., it returns an array containing the array elements of the object followed by
+ the array elements of each argument in order
+description: Checking this algorithm, items are objects and primitives
+---*/
var x = [0];
var y = new Object();
@@ -59,5 +58,4 @@ if (arr[6] !== "NaN") {
//CHECK#8
if (arr.length !== 7) {
$ERROR('#8: var x = [0]; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr.length === 7. Actual: ' + (arr.length));
-}
-
+}
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js
index 13549592c..b34cfef00 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the concat method is called with zero or more arguments item1, item2,
- * etc., it returns an array containing the array elements of the object followed by
- * the array elements of each argument in order
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js
- * @description Checking this algorithm with no items
- */
+/*---
+info: >
+ When the concat method is called with zero or more arguments item1, item2,
+ etc., it returns an array containing the array elements of the object followed by
+ the array elements of each argument in order
+description: Checking this algorithm with no items
+---*/
var x = [0,1];
var arr = x.concat();
@@ -37,5 +36,4 @@ if (arr.length !== 2) {
//CHECK#4
if (arr === x) {
$ERROR('#4: var x = [0,1]; var arr = x.concat(); arr !== x');
-}
-
+}
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T4.js
index 3cf64d942..ffe256826 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T4.js
@@ -1,14 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When the concat method is called with zero or more arguments item1, item2,
- * etc., it returns an array containing the array elements of the object followed by
- * the array elements of each argument in order
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T4.js
- * @description Checking this algorithm, items are [], [,]
- */
+/*---
+info: >
+ When the concat method is called with zero or more arguments item1, item2,
+ etc., it returns an array containing the array elements of the object followed by
+ the array elements of each argument in order
+description: Checking this algorithm, items are [], [,]
+---*/
var x = [,1];
var arr = x.concat([], [,]);
@@ -37,5 +36,4 @@ if (arr[2] !== undefined) {
//CHECK#4
if (arr.length !== 3) {
$ERROR('#4: var x = [,1]; var arr = x.concat([], [,]); arr.length === 3. Actual: ' + (arr.length));
-}
-
+}
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T1.js
index 3d4bc3a7d..82f2fe3fa 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T1.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The concat function is intentionally generic.
- * It does not require that its this value be an Array object
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T1.js
- * @description Checking this for Object object, items are objects and primitives
- */
+/*---
+info: >
+ The concat function is intentionally generic.
+ It does not require that its this value be an Array object
+description: Checking this for Object object, items are objects and primitives
+---*/
var x = {};
x.concat = Array.prototype.concat;
@@ -59,5 +58,4 @@ if (arr[6] !== "NaN") {
//CHECK#8
if (arr.length !== 7) {
$ERROR('#8: var x = {}; x.concat = Array.prototype.concat; var y = new Object(); var z = new Array(1,2); var arr = x.concat(y,z, -1, true, "NaN"); arr.length === 7. Actual: ' + (arr.length));
-}
-
+}
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T2.js
index 3677816a5..d7bd06034 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T2.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The concat function is intentionally generic.
- * It does not require that its this value be an Array object
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A2_T2.js
- * @description Checking this for Object object with no items
- */
+/*---
+info: >
+ The concat function is intentionally generic.
+ It does not require that its this value be an Array object
+description: Checking this for Object object with no items
+---*/
var x = {};
x.concat = Array.prototype.concat;
@@ -27,5 +26,4 @@ if (arr[0] !== x) {
//CHECK#2
if (arr.length !== 1) {
$ERROR('#2: var x = {}; x.concat = Array.prototype.concat; var arr = x.concat(); arr.length === 1. Actual: ' + (arr.length));
-}
-
+}
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A3_T1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A3_T1.js
index 761793dcf..96877b307 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A3_T1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * [[Get]] from not an inherited property
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A3_T1.js
- * @description [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype
- */
+/*---
+info: "[[Get]] from not an inherited property"
+description: >
+ [[Prototype]] of Array instance is Array.prototype, [[Prototype]
+ of Array.prototype is Object.prototype
+---*/
Array.prototype[1] = 1;
var x = [0];
@@ -48,4 +48,3 @@ if (arr[1] !== 1) {
if (arr.hasOwnProperty('1') !== false) {
$ERROR('#6: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr.hasOwnProperty(\'1\') === false. Actual: ' + (arr.hasOwnProperty('1')));
}
-
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.1.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.1.js
index 8f44f11ea..54a558e7a 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.1.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of concat has the attribute DontEnum
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of concat has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (Array.prototype.concat.propertyIsEnumerable('length') !== false) {
@@ -24,5 +22,3 @@ for (var p in Array.concat){
if (result !== true) {
$ERROR('#2: result = true; for (p in Array.concat) { if (p === "length") result = false; } result === true;');
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.2.js
index 383a57a33..5eb37da14 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.2.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.2.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of concat has the attribute DontDelete
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.2.js
- * @description Checking use hasOwnProperty, delete
- * @noStrict
- */
+/*---
+info: The length property of concat has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+flags: [noStrict]
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (Array.prototype.concat.hasOwnProperty('length') !== true) {
@@ -25,6 +24,3 @@ if (Array.prototype.concat.hasOwnProperty('length') !== true) {
if (Array.prototype.concat.length === undefined) {
$ERROR('#3: delete Array.prototype.concat.length; Array.prototype.concat.length !== undefined');
}
-
-
-
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.3.js
index e9006f4c7..73b1c6bbd 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.3.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.3.js
@@ -1,13 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of concat has the attribute ReadOnly
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.3.js
- * @description Checking if varying the length property fails
- * @noStrict
- */
+/*---
+info: The length property of concat has the attribute ReadOnly
+description: Checking if varying the length property fails
+flags: [noStrict]
+---*/
//CHECK#1
var x = Array.prototype.concat.length;
@@ -15,5 +13,3 @@ Array.prototype.concat.length = Infinity;
if (Array.prototype.concat.length !== x) {
$ERROR('#1: x = Array.prototype.concat.length; Array.prototype.concat.length = Infinity; Array.prototype.concat.length === x. Actual: ' + (Array.prototype.concat.length));
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.4.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.4.js
index 7f2b32917..200187be2 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.4.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.4.js
@@ -1,16 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The length property of concat is 1
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.4.js
- * @description concat.length === 1
- */
+/*---
+info: The length property of concat is 1
+description: concat.length === 1
+---*/
//CHECK#1
if (Array.prototype.concat.length !== 1) {
$ERROR('#1: Array.prototype.concat.length === 1. Actual: ' + (Array.prototype.concat.length));
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.5.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.5.js
index 236be1f96..bd972bb27 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.5.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The concat property of Array has the attribute DontEnum
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The concat property of Array has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (Array.propertyIsEnumerable('concat') !== false) {
@@ -24,5 +22,3 @@ for (var p in Array){
if (result !== true) {
$ERROR('#2: result = true; for (p in Array) { if (p === "concat") result = false; } result === true;');
}
-
-
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.6.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.6.js
index bbd5df9e4..1a00b5b37 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.6.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.6.js
@@ -1,15 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The concat property of Array has not prototype property
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.6.js
- * @description Checking Array.prototype.concat.prototype
- */
+/*---
+info: The concat property of Array has not prototype property
+description: Checking Array.prototype.concat.prototype
+---*/
//CHECK#1
if (Array.prototype.concat.prototype !== undefined) {
$ERROR('#1: Array.prototype.concat.prototype === undefined. Actual: ' + (Array.prototype.concat.prototype));
}
-
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.7.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.7.js
index d17536462..9534a738d 100644
--- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.7.js
+++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * The concat property of Array can't be used as constructor
- *
- * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A4.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The concat property of Array can't be used as constructor
+description: >
+ If property does not implement the internal [[Construct]] method,
+ throw a TypeError exception
+---*/
//CHECK#1
@@ -18,4 +18,3 @@ try {
$ERROR('#1.2: new Array.prototype.concat() throw TypeError. Actual: ' + (e));
}
}
-