aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.5/15.5.5
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.5/15.5.5')
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-1.js48
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-2.js44
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-1.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-2.js44
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-3.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-4.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-6.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-7.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-8.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-1.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-2.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-3.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-4.js46
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5.1_A1.js13
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5.1_A2.js11
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5.1_A3.js11
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5.1_A4.js11
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5.1_A5.js13
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T1.js12
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T2.js12
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T1.js12
-rw-r--r--test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T2.js12
23 files changed, 377 insertions, 372 deletions
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-1.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-1.js
index 054db6236..bbd9c08be 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-1.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-1.js
@@ -1,23 +1,25 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-1.js
- * @description String object supports bracket notation to lookup of data properties
- */
-
-
-function testcase() {
- var s = new String("hello world");
- s.foo = 1;
-
- if (s["foo"] === 1) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String object supports bracket notation to lookup of data
+ properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = new String("hello world");
+ s.foo = 1;
+
+ if (s["foo"] === 1) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-2.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-2.js
index 29cd56e9f..aed4de489 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-2.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-2.js
@@ -1,22 +1,22 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-1-2.js
- * @description String value supports bracket notation to lookup data properties
- */
-
-
-function testcase() {
- var s = String("hello world");
-
- if (s["foo"] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: String value supports bracket notation to lookup data properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = String("hello world");
+
+ if (s["foo"] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-1.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-1.js
index 676b19df4..4df659061 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-1.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-1.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-1.js
- * @description String object indexing returns undefined for missing data properties
- */
-
-
-function testcase() {
- var s = new String("hello world");
-
- if (s["foo"] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String object indexing returns undefined for missing data
+ properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = new String("hello world");
+
+ if (s["foo"] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-2.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-2.js
index d21cd552e..a262a0aaa 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-2.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-2.js
@@ -1,22 +1,22 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-2.js
- * @description String value indexing returns undefined for missing data properties
- */
-
-
-function testcase() {
- var s = String("hello world");
-
- if (s["foo"] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: String value indexing returns undefined for missing data properties
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = String("hello world");
+
+ if (s["foo"] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-3.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-3.js
index 2f4e0fc80..7d6b5dc2a 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-3.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-3.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-3.js
- * @description String object indexing returns undefined if the numeric index (NaN) is not an array index
- */
-
-
-function testcase() {
- var s = new String("hello world");
-
- if (s[NaN] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String object indexing returns undefined if the numeric index
+ (NaN) is not an array index
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = new String("hello world");
+
+ if (s[NaN] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-4.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-4.js
index 3e014dccc..08e3a0fce 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-4.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-4.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-4.js
- * @description String object indexing returns undefined if the numeric index (Infinity) is not an array index
- */
-
-
-function testcase() {
- var s = new String("hello world");
-
- if (s[Infinity] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String object indexing returns undefined if the numeric index
+ (Infinity) is not an array index
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = new String("hello world");
+
+ if (s[Infinity] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js
index df7af1bab..054113a11 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js
- * @description String object indexing returns undefined if the numeric index ( 2^32-1) is not an array index
- */
-
-
-function testcase() {
- var s = new String("hello world");
-
- if (s[Math.pow(2, 32)-1]===undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String object indexing returns undefined if the numeric index (
+ 2^32-1) is not an array index
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = new String("hello world");
+
+ if (s[Math.pow(2, 32)-1]===undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-6.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-6.js
index 0ff361ca6..0b52dc662 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-6.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-6.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-6.js
- * @description String value indexing returns undefined if the numeric index (NaN) is not an array index
- */
-
-
-function testcase() {
- var s = String("hello world");
-
- if (s[NaN] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String value indexing returns undefined if the numeric index (NaN)
+ is not an array index
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = String("hello world");
+
+ if (s[NaN] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-7.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-7.js
index 1d30edcf4..c2543eea0 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-7.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-7.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-7.js
- * @description String value indexing returns undefined if the numeric index (Infinity) is not an array index
- */
-
-
-function testcase() {
- var s = String("hello world");
-
- if (s[Infinity] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String value indexing returns undefined if the numeric index
+ (Infinity) is not an array index
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = String("hello world");
+
+ if (s[Infinity] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-8.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-8.js
index d2363cd13..d8aa657c2 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-8.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-8.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-8.js
- * @description String value indexing returns undefined if the numeric index ( >= 2^32-1) is not an array index
- */
-
-
-function testcase() {
- var s = String("hello world");
-
- if (s[Math.pow(2, 32)-1]===undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String value indexing returns undefined if the numeric index ( >=
+ 2^32-1) is not an array index
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = String("hello world");
+
+ if (s[Math.pow(2, 32)-1]===undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-1.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-1.js
index fbc563c11..e5887888a 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-1.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-1.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-1.js
- * @description String object indexing returns undefined if the numeric index is less than 0
- */
-
-
-function testcase() {
- var s = new String("hello world");
-
- if (s[-1] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String object indexing returns undefined if the numeric index is
+ less than 0
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = new String("hello world");
+
+ if (s[-1] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-2.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-2.js
index 3d0a47288..1d77026f3 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-2.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-2.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-2.js
- * @description String value indexing returns undefined if the numeric index is less than 0
- */
-
-
-function testcase() {
- var s = String("hello world");
-
- if (s[-1] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String value indexing returns undefined if the numeric index is
+ less than 0
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = String("hello world");
+
+ if (s[-1] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-3.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-3.js
index 07bb26557..efb3cd40c 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-3.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-3.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-3.js
- * @description String object indexing returns undefined if the numeric index is greater than the string length
- */
-
-
-function testcase() {
- var s = new String("hello world");
-
- if (s[11] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String object indexing returns undefined if the numeric index is
+ greater than the string length
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = new String("hello world");
+
+ if (s[11] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-4.js b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-4.js
index 712f38737..650200d7a 100644
--- a/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-4.js
+++ b/test/suite/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-4.js
@@ -1,22 +1,24 @@
-/// 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.
-/**
- * 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
- * notation to look up non numeric property names.
- *
- * @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-7-4.js
- * @description String value indexing returns undefined if the numeric index is greater than the string length
- */
-
-
-function testcase() {
- var s = String("hello world");
-
- if (s[11] === undefined) {
- return true;
- }
- }
-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.
+
+/*---
+info: >
+ 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
+ notation to look up non numeric property names.
+description: >
+ String value indexing returns undefined if the numeric index is
+ greater than the string length
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var s = String("hello world");
+
+ if (s[11] === undefined) {
+ return true;
+ }
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A1.js b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A1.js
index 90cf55b6f..45101aa06 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A1.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A1.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.
-/**
- * length property contains the number of characters in the String value represented by this String object
- *
- * @path ch15/15.5/15.5.5/S15.5.5.1_A1.js
- * @description Create strings and check its length
- */
+/*---
+info: >
+ length property contains the number of characters in the String value
+ represented by this String object
+description: Create strings and check its length
+---*/
var __str__instance = new String("ABC\u0041\u0042\u0043");
@@ -27,4 +27,3 @@ if (__str__instance.length !== 0) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A2.js b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A2.js
index 3de19c475..80cccb074 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A2.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A2.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.
-/**
- * length property has the attributes {DontEnum}
- *
- * @path ch15/15.5/15.5.5/S15.5.5.1_A2.js
- * @description Checking if enumerating the length property of String fails
- */
+/*---
+info: length property has the attributes {DontEnum}
+description: Checking if enumerating the length property of String fails
+---*/
var __str__instance = new String("globglob");
@@ -27,4 +25,3 @@ for(prop in __str__instance){
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A3.js b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A3.js
index 79daa3c66..d53162299 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A3.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A3.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.
-/**
- * length property has the attributes {DontDelete}
- *
- * @path ch15/15.5/15.5.5/S15.5.5.1_A3.js
- * @description Checking if deleting the length property of String fails
- */
+/*---
+info: length property has the attributes {DontDelete}
+description: Checking if deleting the length property of String fails
+---*/
var __str__instance = new String("globglob");
@@ -33,4 +31,3 @@ if (!(__str__instance.hasOwnProperty("length"))) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A4.js b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A4.js
index ccc5253ad..c44e2ebba 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A4.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A4.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.
-/**
- * length property has the attributes {ReadOnly}
- *
- * @path ch15/15.5/15.5.5/S15.5.5.1_A4.js
- * @description Checking if varying the length property of String fails
- */
+/*---
+info: length property has the attributes {ReadOnly}
+description: Checking if varying the length property of String fails
+---*/
var __str__instance = new String("globglob");
@@ -56,4 +54,3 @@ if (__str__instance.length !== 8) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A5.js b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A5.js
index d5cc38bd9..1cf004c87 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A5.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5.1_A5.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.
-/**
- * Once a String object is created, the length property is unchanging
- *
- * @path ch15/15.5/15.5.5/S15.5.5.1_A5.js
- * @description Change valueOf and toString of String object and check length property
- */
+/*---
+info: Once a String object is created, the length property is unchanging
+description: >
+ Change valueOf and toString of String object and check length
+ property
+---*/
var __str__instance = new String("ABC\u0041\u0042\u0043");
@@ -36,4 +36,3 @@ if (__str__instance.length !== 6) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T1.js b/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T1.js
index 33aaacb49..a70ea6ab4 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T1.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T1.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * String instance has not [[call]] property
- *
- * @path ch15/15.5/15.5.5/S15.5.5_A1_T1.js
- * @description Create new String and try call it
- */
+/*---
+info: String instance has not [[call]] property
+description: Create new String and try call it
+includes: [$FAIL.js]
+---*/
var __str = new String;
@@ -22,4 +21,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T2.js b/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T2.js
index 6396fadb8..e3f93a9d2 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T2.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5_A1_T2.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * String instance has not [[call]] property
- *
- * @path ch15/15.5/15.5.5/S15.5.5_A1_T2.js
- * @description Checking if creating new "String("a|b")()" fails
- */
+/*---
+info: String instance has not [[call]] property
+description: Checking if creating new "String("a|b")()" fails
+includes: [$FAIL.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -20,4 +19,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T1.js b/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T1.js
index dea7b8d37..1c6021517 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T1.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T1.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * String instance has not [[construct]] property
- *
- * @path ch15/15.5/15.5.5/S15.5.5_A2_T1.js
- * @description Create new string object and try new created_string
- */
+/*---
+info: String instance has not [[construct]] property
+description: Create new string object and try new created_string
+includes: [$FAIL.js]
+---*/
var __str = new Object("");
@@ -22,4 +21,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-
diff --git a/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T2.js b/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T2.js
index fb2595662..d8ac954fb 100644
--- a/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T2.js
+++ b/test/suite/ch15/15.5/15.5.5/S15.5.5_A2_T2.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * String instance has not [[construct]] property
- *
- * @path ch15/15.5/15.5.5/S15.5.5_A2_T2.js
- * @description Checking if creating "new String" fails
- */
+/*---
+info: String instance has not [[construct]] property
+description: Checking if creating "new String" fails
+includes: [$FAIL.js]
+---*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
@@ -20,4 +19,3 @@ try {
}
//
//////////////////////////////////////////////////////////////////////////////
-