aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.1/15.1.2
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.1/15.1.2')
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T1.js15
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T2.js15
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T1.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T2.js17
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T1.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T2.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T3.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T4.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T5.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T6.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T7.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T8.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T1.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T2.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T3.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.2.js15
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/15.1.2.2-2-1.js32
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T7.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T10.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T7.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T8.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T9.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T2.js12
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T7.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T3.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.1_T1.js17
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T1.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T2.js16
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T1.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T2.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T3.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T4.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T5.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T6.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T1.js20
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T2.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T3.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A8.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/15.1.2.3-2-1.js32
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T7.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T10.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T7.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T8.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T9.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T5.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T6.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T7.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A6.js18
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T1.js17
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T2.js17
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.7.js13
142 files changed, 766 insertions, 1139 deletions
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T1.js
index e335d2f73..ec980bb70 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T1.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.
-/**
- * If x is not a string value, return x
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T1.js
- * @description Checking all primitive
- */
+/*---
+info: If x is not a string value, return x
+description: Checking all primitive
+---*/
//CHECK#1
var x = 1;
@@ -32,5 +30,4 @@ if (eval(null) !== null) {
//CHECK#5
if (eval(undefined) !== undefined) {
$ERROR('#5: eval(undefined) === undefined. Actual: ' + (eval(undefined)));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T2.js
index 67dd83d3f..cdb80fa1b 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T2.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.
-/**
- * If x is not a string value, return x
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.1_T2.js
- * @description Checking all object
- */
+/*---
+info: If x is not a string value, return x
+description: Checking all object
+---*/
//CHECK#1
var x = {};
@@ -30,5 +28,4 @@ if (eval(x) !== x) {
x = new String("1+1");
if (eval(x) !== x) {
$ERROR('#4: x = new String("1"); eval(x) === x. Actual: ' + (eval(x)));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.2_T1.js
index 616755cdb..0323d662b 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.2_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.
-/**
- * If the eval function is called with some argument, then use a first argument
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A1.2_T1.js
- * @description eval("x = 1", "x = 2"), x equal 1, not 2
- */
+/*---
+info: >
+ If the eval function is called with some argument, then use a first
+ argument
+description: eval("x = 1", "x = 2"), x equal 1, not 2
+---*/
//CHECK#1
var x;
@@ -14,4 +14,3 @@ eval("x = 1", "x = 2");
if (x !== 1) {
$ERROR('#1: eval("x = 1", "x = 2"); x === 1. Actual: ' + (x));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T1.js
index b1a6a03d7..8b23d4f67 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_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.
-/**
- * If the parse fails, throw a SyntaxError exception (but see also clause 16)
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T1.js
- * @description Checking if execution of "eval("x = 1; x\u000A++"), catch SyntaxError" passes
- */
+/*---
+info: If the parse fails, throw a SyntaxError exception (but see also clause 16)
+description: >
+ Checking if execution of "eval("x = 1; x\u000A++"), catch
+ SyntaxError" passes
+---*/
//CHECK#1
var x;
@@ -17,5 +17,4 @@ try {
if ((e instanceof SyntaxError) !== true) {
$ERROR('#1.2: eval("x = 1; x\\u000A++") must throw a SyntaxError. Actual: ' + (e));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T2.js
index 176a93c26..1eb641af9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T2.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.
-/**
- * If the parse fails, throw a SyntaxError exception (but see also clause 16)
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A2_T2.js
- * @description Checking if execution of "eval("x = 1; x\u000A++")" fails
- * @negative
- */
+/*---
+info: If the parse fails, throw a SyntaxError exception (but see also clause 16)
+description: Checking if execution of "eval("x = 1; x\u000A++")" fails
+flags: [negative]
+---*/
//CHECK#1
var x;
-eval("x = 1; x\u000A++");
-
+eval("x = 1; x\u000A++");
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T1.js
index 5341f7ff0..d030a40cd 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_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.
-/**
- * If Result(3).type is normal and its completion value is a value V,
- * then return the value V
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T1.js
- * @description Expression statement. Eval return primitive value
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is a value V,
+ then return the value V
+description: Expression statement. Eval return primitive value
+---*/
var x;
//CHECK#1
@@ -29,5 +28,4 @@ if (eval("'1'") !== '1') {
x = 1;
if (eval("++x") !== 2) {
$ERROR('#4: x = 1; eval("++x") === 2. Actual: ' + (x));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T2.js
index cf91aa578..5ba9bc545 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_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.
-/**
- * If Result(3).type is normal and its completion value is a value V,
- * then return the value V
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.1_T2.js
- * @description Expression statement. Eval return object value
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is a value V,
+ then return the value V
+description: Expression statement. Eval return object value
+---*/
//CHECK#1
var x = {};
@@ -20,6 +19,4 @@ if (eval("y = x") !== x) {
//CHECK#2
if (eval("x") !== x) {
$ERROR('#2: var x = {}; eval("x") === x. Actual: ' + (eval("x")));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T1.js
index 61d9099c9..f38d53437 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T1.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T1.js
- * @description Block statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: Block statement
+---*/
//CHECK#1
if (eval("{}") !== undefined) {
$ERROR('#1: eval("{}") === undefined. Actual: ' + (eval("{}")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T2.js
index c6893cefe..a65c85761 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T2.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T2.js
- * @description Var statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: Var statement
+---*/
//CHECK#1
if (eval("var x = 1") !== undefined) {
$ERROR('#1: eval("var x = 1") === undefined. Actual: ' + (eval("var x = 1")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T3.js
index 63a00ef51..dbad3f36e 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T3.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T3.js
- * @description Empty statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: Empty statement
+---*/
//CHECK#1
if (eval(";") !== undefined) {
$ERROR('#1: eval(";") === undefined. Actual: ' + (eval(";")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T4.js
index 4c7143495..17698f19e 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T4.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T4.js
- * @description If statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: If statement
+---*/
//CHECK#1
if (eval("if (false) ;") !== undefined) {
$ERROR('#1: eval("if (false) ;") === undefined. Actual: ' + eval("if (false) ;"));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T5.js
index 1cbae09f2..d35da0b05 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T5.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T5.js
- * @description Switch statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: Switch statement
+---*/
//CHECK#1
if (eval("switch(1){}") !== undefined) {
$ERROR('#1: eval("switch(1){}") === undefined. Actual: ' + (eval("switch(1){}")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T6.js
index 44843a8a5..e4d2cd6e2 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T6.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T6.js
- * @description do-while statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: do-while statement
+---*/
//CHECK#1
if (eval("do ; while(false)") !== undefined) {
$ERROR('#1: eval("do ; while(false)") === undefined. Actual: ' + (eval("do ; while(false)")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T7.js
index 22da19f08..62844ebe9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T7.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T7.js
- * @description do-while statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: do-while statement
+---*/
//CHECK#1
if (eval("while(false);") !== undefined) {
$ERROR('#1: eval("while(false);") === undefined. Actual: ' + (eval("while(false);")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T8.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T8.js
index 5f2acb2d7..4a08860ea 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T8.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T8.js
@@ -1,16 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Result(3).type is normal and its completion value is empty,
- * then return the value undefined
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.2_T8.js
- * @description for statement
- */
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+description: for statement
+---*/
//CHECK#1
if (eval("for(false;false;false);") !== undefined) {
$ERROR('#1: eval("for(false;false;false);") === undefined. Actual: ' + (eval("for(false;false;false);")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T1.js
index 04bf18be7..0171bf231 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_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.
-/**
- * If Result(3).type is not normal, then Result(3).type must be throw.
- * Throw Result(3).value as an exception
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T1.js
- * @description Continue statement
- */
+/*---
+info: >
+ If Result(3).type is not normal, then Result(3).type must be throw.
+ Throw Result(3).value as an exception
+description: Continue statement
+---*/
//CHECK#1
try {
@@ -31,5 +30,4 @@ try {
if ((e instanceof SyntaxError) !== true) {
$ERROR('#2.2: continue must throw SyntaxError. Actual: ' + (e));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T2.js
index 1c1df2173..ddb947436 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_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.
-/**
- * If Result(3).type is not normal, then Result(3).type must be throw.
- * Throw Result(3).value as an exception
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T2.js
- * @description Break statement
- */
+/*---
+info: >
+ If Result(3).type is not normal, then Result(3).type must be throw.
+ Throw Result(3).value as an exception
+description: Break statement
+---*/
//CHECK#1
try {
@@ -31,5 +30,4 @@ try {
if ((e instanceof SyntaxError) !== true) {
$ERROR('#2.2: break must throw SyntaxError. Actual: ' + (e));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T3.js
index b8e740723..aefe38cde 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T3.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.
-/**
- * If Result(3).type is not normal, then Result(3).type must be throw.
- * Throw Result(3).value as an exception
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T3.js
- * @description Return statement
- */
+/*---
+info: >
+ If Result(3).type is not normal, then Result(3).type must be throw.
+ Throw Result(3).value as an exception
+description: Return statement
+---*/
//CHECK#1
try {
@@ -30,5 +29,4 @@ try {
if ((e instanceof SyntaxError) !== true) {
$ERROR('#2.2: return must throw SyntaxError. Actual: ' + (e));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T4.js
index 45037cfbb..129257f07 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T4.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.
-/**
- * If Result(3).type is not normal, then Result(3).type must be throw.
- * Throw Result(3).value as an exception
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A3.3_T4.js
- * @description Throw statement
- */
+/*---
+info: >
+ If Result(3).type is not normal, then Result(3).type must be throw.
+ Throw Result(3).value as an exception
+description: Throw statement
+---*/
//CHECK#1
try {
@@ -18,4 +17,3 @@ try {
$ERROR('#1.2: throw 1 must throw SyntaxError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.1.js
index 17ae46129..578bfd568 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_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 eval has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of eval has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (eval.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (p in eval){
if (result !== true) {
$ERROR('#2: result = true; for (p in eval) { if (p === "length") result = false; }; result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.2.js
index 3a79a7baa..43681ff6e 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.2.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.
-/**
- * The length property of eval has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.2.js
- * @description Checking use hasOwnProperty, delete
- */
+/*---
+info: The length property of eval has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (eval.hasOwnProperty('length') !== true) {
@@ -24,7 +23,3 @@ if (eval.hasOwnProperty('length') !== true) {
if (eval.length === undefined) {
$ERROR('#3: delete eval.length; eval.length !== undefined');
}
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.3.js
index 338a0982c..5834ec039 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_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 eval has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.3.js
- * @description Checking if varying the length property fails
- * @noStrict
- */
+/*---
+info: The length property of eval has the attribute ReadOnly
+description: Checking if varying the length property fails
+flags: [noStrict]
+---*/
//CHECK#1
var x = eval.length;
@@ -15,5 +13,3 @@ eval.length = Infinity;
if (eval.length !== x) {
$ERROR('#1: x = eval.length; eval.length = Infinity; eval.length === x. Actual: ' + (eval.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.4.js
index bcae0bab0..36945b565 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_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 eval is 1
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.4.js
- * @description eval.length === 1
- */
+/*---
+info: The length property of eval is 1
+description: eval.length === 1
+---*/
//CHECK#1
if (eval.length !== 1) {
$ERROR('#1: eval.length === 1. Actual: ' + (eval.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.5.js
index b9fe428fc..a619e41b2 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_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 eval property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The eval property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('eval') !== false) {
@@ -24,4 +22,3 @@ for (var p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "eval") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.6.js
index 04e1ade0a..2f9230c0d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_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 eval property has not prototype property
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.6.js
- * @description Checking eval.prototype
- */
+/*---
+info: The eval property has not prototype property
+description: Checking eval.prototype
+---*/
//CHECK#1
if (eval.prototype !== undefined) {
$ERROR('#1: eval.prototype === undefined. Actual: ' + (eval.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.7.js
index 0a1fa011f..2d1b84894 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_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 eval property can't be used as constructor
- *
- * @path ch15/15.1/15.1.2/15.1.2.1/S15.1.2.1_A4.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The eval property 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 eval() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/15.1.2.2-2-1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/15.1.2.2-2-1.js
index cb072a69a..2822ce056 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/15.1.2.2-2-1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/15.1.2.2-2-1.js
@@ -1,15 +1,17 @@
-/// 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.1/15.1.2/15.1.2.2/15.1.2.2-2-1.js
- * @description pareseInt - 'S' is the empty string when inputString does not contain any such characters
- */
-
-
-function testcase() {
- return isNaN(parseInt("")) && parseInt("") !== parseInt("");
- }
-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: >
+ pareseInt - 'S' is the empty string when inputString does not
+ contain any such characters
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ return isNaN(parseInt("")) && parseInt("") !== parseInt("");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T1.js
index 364172767..0e122283d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T1.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T1.js
- * @description Checking for boolean primitive
- */
+/*---
+info: Operator use ToString
+description: Checking for boolean primitive
+---*/
//CHECK#1
if (!(isNaN(parseInt(true)) && isNaN(parseInt("NaN")))) {
@@ -17,4 +15,3 @@ if (!(isNaN(parseInt(true)) && isNaN(parseInt("NaN")))) {
if (String(parseInt(false)) !== "NaN") {
$ERROR('#2: String(parseInt(false)) === "NaN". Actual: ' + (String(parseInt(false))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T2.js
index ff5199a07..51c930209 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T2.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T2.js
- * @description Checking for number primitive
- */
+/*---
+info: Operator use ToString
+description: Checking for number primitive
+---*/
//CHECK#1
if (parseInt(-1) !== parseInt("-1")) {
@@ -30,5 +28,4 @@ if (parseInt(-0) !== 0) {
if (1 / parseInt(-0) !== Number.POSITIVE_INFINITY) {
$ERROR('#4: parseInt(-0) === +0. Actual: ' + (parseInt(-0)));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.js
index 8302d3919..89b633ba0 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.js
- * @description Checking for undefined and null
- */
+/*---
+info: Operator use ToString
+description: Checking for undefined and null
+---*/
//CHECK#1
if (!(isNaN(parseInt(undefined)) && isNaN(parseInt("NaN")))) {
@@ -27,4 +25,3 @@ if (String(parseInt(undefined)) !== "NaN") {
if (String(parseInt(null)) !== "NaN") {
$ERROR('#4: String(parseInt(null)) === "NaN". Actual: ' + (String(parseInt(null))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T4.js
index cb8513d08..9ee8a9be6 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T4.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T4.js
- * @description Checking for Boolean object
- */
+/*---
+info: Operator use ToString
+description: Checking for Boolean object
+---*/
//CHECK#1
if (!(isNaN(parseInt(new Boolean(true))) && isNaN(parseInt("NaN")))) {
@@ -17,4 +15,3 @@ if (!(isNaN(parseInt(new Boolean(true))) && isNaN(parseInt("NaN")))) {
if (String(parseInt(new Boolean(false))) !== "NaN") {
$ERROR('#2: String(parseInt(new Boolean(false))) === "NaN". Actual: ' + (String(parseInt(new Boolean(false)))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T5.js
index acf3ec140..0c71aebbd 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T5.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T5.js
- * @description Checking for Number object
- */
+/*---
+info: Operator use ToString
+description: Checking for Number object
+---*/
//CHECK#1
if (parseInt(new Number(-1)) !== parseInt("-1")) {
@@ -22,4 +20,3 @@ if (String(parseInt(new Number(Infinity))) !== "NaN") {
if (String(parseInt(new Number(NaN))) !== "NaN") {
$ERROR('#3: String(parseInt(new Number(NaN))) === "NaN". Actual: ' + (String(parseInt(new Number(NaN)))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T6.js
index 459b40fe4..dd6f5555c 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T6.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T6.js
- * @description Checking for String object
- */
+/*---
+info: Operator use ToString
+description: Checking for String object
+---*/
//CHECK#1
if (parseInt(new String("-1")) !== parseInt("-1")) {
@@ -27,4 +25,3 @@ if (String(parseInt(new String("NaN"))) !== "NaN") {
if (String(parseInt(new String("false"))) !== "NaN") {
$ERROR('#4: String(parseInt(new String("false"))) === "NaN". Actual: ' + (String(parseInt(new String("false")))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T7.js
index dee9254f2..dbb6ff7cf 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T7.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T7.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, String)
- */
+/*---
+info: Operator use ToString
+description: If Type(value) is Object, evaluate ToPrimitive(value, String)
+---*/
//CHECK#1
var object = {valueOf: function() {return 1}};
@@ -76,4 +74,3 @@ catch (e) {
$ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseInt(object) throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T1.js
index 94d69742c..30dc0a418 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T1.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T1.js
- * @description StrWhiteSpaceChar :: TAB (U+0009)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: TAB (U+0009)"
+---*/
//CHECK#1
if (parseInt("\u00091") !== parseInt("1")) {
@@ -37,4 +35,3 @@ if (parseInt(" \u0009 \u0009-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u0009")) !== true) {
$ERROR('#6: parseInt("\\u0009") === Not-a-Number. Actual: ' + (parseInt("\u0009")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T10.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T10.js
index f67483443..279e4f12c 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T10.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T10.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T10.js
- * @description StrWhiteSpaceChar :: USP
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: USP"
+---*/
//CHECK#
var count = 0;
@@ -37,4 +35,3 @@ for (var index = 0; index < uspU.length; index++) {
if (errorCount > 0) {
$ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count);
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T2.js
index b7fcfe4da..a6de122d1 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T2.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T2.js
- * @description StrWhiteSpaceChar :: SP (U+0020)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: SP (U+0020)"
+---*/
//CHECK#1
if (parseInt("\u00201") !== parseInt("1")) {
@@ -37,4 +35,3 @@ if (parseInt(" \u0020 \u0020-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u0020")) !== true) {
$ERROR('#6: parseInt("\\u0020") === Not-a-Number. Actual: ' + (parseInt("\u0020")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T3.js
index 6cf28d093..ef8baba36 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T3.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T3.js
- * @description StrWhiteSpaceChar :: NBSB (U+00A0)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: NBSB (U+00A0)"
+---*/
//CHECK#1
if (parseInt("\u00A01") !== parseInt("1")) {
@@ -22,4 +20,3 @@ if (parseInt("\u00A0\u00A0-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u00A0")) !== true) {
$ERROR('#3: parseInt("\\u00A0") === Not-a-Number. Actual: ' + (parseInt("\u00A0")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T4.js
index af48d2f2d..d0169b090 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T4.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T4.js
- * @description StrWhiteSpaceChar :: FF (U+000C)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: FF (U+000C)"
+---*/
//CHECK#1
if (parseInt("\u000C1") !== parseInt("1")) {
@@ -22,4 +20,3 @@ if (parseInt("\u000C\u000C-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u000C")) !== true) {
$ERROR('#3: parseInt("\\u000C") === Not-a-Number. Actual: ' + (parseInt("\u000C")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T5.js
index cf937d469..291cb62e4 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T5.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T5.js
- * @description StrWhiteSpaceChar :: VT (U+000B)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: VT (U+000B)"
+---*/
//CHECK#1
if (parseInt("\u000B1") !== parseInt("1")) {
@@ -22,4 +20,3 @@ if (parseInt("\u000B\u000B-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u000B")) !== true) {
$ERROR('#3: parseInt("\\u000B") === Not-a-Number. Actual: ' + (parseInt("\u000B")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T6.js
index 459fe4cbc..1b4627855 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T6.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T6.js
- * @description StrWhiteSpaceChar :: CR (U+000D)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: CR (U+000D)"
+---*/
//CHECK#1
if (parseInt("\u000D1") !== parseInt("1")) {
@@ -22,4 +20,3 @@ if (parseInt("\u000D\u000D-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u000D")) !== true) {
$ERROR('#3: parseInt("\\u000D") === Not-a-Number. Actual: ' + (parseInt("\u000D")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T7.js
index fd49e2b86..6148d8138 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T7.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T7.js
- * @description StrWhiteSpaceChar :: LF (U+000A)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: LF (U+000A)"
+---*/
//CHECK#1
if (parseInt("\u000A1") !== parseInt("1")) {
@@ -22,4 +20,3 @@ if (parseInt("\u000A\u000A-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u000A")) !== true) {
$ERROR('#3: parseInt("\\u000A") === Not-a-Number. Actual: ' + (parseInt("\u000A")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T8.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T8.js
index 2ecc4d7b3..183727780 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T8.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T8.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T8.js
- * @description StrWhiteSpaceChar :: LS (U+2028)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: LS (U+2028)"
+---*/
//CHECK#1
if (parseInt("\u20281") !== parseInt("1")) {
@@ -22,4 +20,3 @@ if (parseInt("\u2028\u2028-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u2028")) !== true) {
$ERROR('#3: parseInt("\\u2028") === Not-a-Number. Actual: ' + (parseInt("\u2028")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T9.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T9.js
index c517c2e8b..5481cf038 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T9.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T9.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A2_T9.js
- * @description StrWhiteSpaceChar :: PS (U+2029)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: PS (U+2029)"
+---*/
//CHECK#1
if (parseInt("\u20291") !== parseInt("1")) {
@@ -22,4 +20,3 @@ if (parseInt("\u2029\u2029-1") !== parseInt("-1")) {
if (isNaN(parseInt("\u2029")) !== true) {
$ERROR('#3: parseInt("\\u2029") === Not-a-Number. Actual: ' + (parseInt("\u2029")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T1.js
index 91faff88d..7fb531f6e 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T1.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.
-/**
- * Operator use ToNumber
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T1.js
- * @description Checking for boolean primitive
- */
+/*---
+info: Operator use ToNumber
+description: Checking for boolean primitive
+---*/
//CHECK#1
if (parseInt("11", false) !== parseInt("11", 10)) {
@@ -17,4 +15,3 @@ if (parseInt("11", false) !== parseInt("11", 10)) {
if (isNaN(parseInt("11", true)) !== true) {
$ERROR('#2: parseInt("11", true) === Not-a-Number. Actual: ' + (parseInt("11", true)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T2.js
index 3c3d3b170..2e52a810d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T2.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.
-/**
- * Operator use ToNumber
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T2.js
- * @description Checking for string primitive
- */
+/*---
+info: Operator use ToNumber
+description: Checking for string primitive
+---*/
//CHECK#1
if (parseInt("11", "2") !== parseInt("11", 2)) {
@@ -22,5 +20,3 @@ if (parseInt("11", "0") !== parseInt("11", 10)) {
if (parseInt("11", "") !== parseInt("11", 10)) {
$ERROR('#3: parseInt("11", "") === parseInt("11", 10). Actual: ' + (parseInt("11", "")));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T3.js
index ad0f45f11..3581225d5 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T3.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.
-/**
- * Operator use ToNumber
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T3.js
- * @description Checking for undefined and null
- */
+/*---
+info: Operator use ToNumber
+description: Checking for undefined and null
+---*/
//CHECK#1
if (parseInt("11", undefined) !== parseInt("11", 10)) {
@@ -17,4 +15,3 @@ if (parseInt("11", undefined) !== parseInt("11", 10)) {
if (parseInt("11", null) !== parseInt("11", 10)) {
$ERROR('#2: parseInt("11", null) === parseInt("11", 10). Actual: ' + (parseInt("11", null)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T4.js
index 32520b29d..7c9ef1e4d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T4.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.
-/**
- * Operator use ToNumber
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T4.js
- * @description Checking for Boolean object
- */
+/*---
+info: Operator use ToNumber
+description: Checking for Boolean object
+---*/
//CHECK#1
if (parseInt("11", new Boolean(false)) !== parseInt("11", false)) {
@@ -17,4 +15,3 @@ if (parseInt("11", new Boolean(false)) !== parseInt("11", false)) {
if (isNaN(parseInt("11", new Boolean(true))) !== true) {
$ERROR('#2: parseInt("11", new Boolean(true)) === Not-a-Number. Actual: ' + (parseInt("11", new Boolean(true))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T5.js
index cde9f4b12..dbc452b0c 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T5.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.
-/**
- * Operator use ToNumber
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T5.js
- * @description Checking for Number object
- */
+/*---
+info: Operator use ToNumber
+description: Checking for Number object
+---*/
//CHECK#1
if (parseInt("11", new Number(2)) !== parseInt("11", 2)) {
@@ -17,4 +15,3 @@ if (parseInt("11", new Number(2)) !== parseInt("11", 2)) {
if (parseInt("11", new Number(Infinity)) !== parseInt("11", Infinity)) {
$ERROR('#2: parseInt("11", new Number(Infinity)) === parseInt("11", Infinity). Actual: ' + (parseInt("11", new Number(Infinity))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T6.js
index e3d44183d..d975c4bf2 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T6.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.
-/**
- * Operator use ToNumber
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T6.js
- * @description Checking for String object
- */
+/*---
+info: Operator use ToNumber
+description: Checking for String object
+---*/
//CHECK#1
if (parseInt("11", new String("2")) !== parseInt("11", 2)) {
@@ -17,4 +15,3 @@ if (parseInt("11", new String("2")) !== parseInt("11", 2)) {
if (parseInt("11", new String("Infinity")) !== parseInt("11", Infinity)) {
$ERROR('#2: parseInt("11", new String("Infinity")) === parseInt("11", Infinity). Actual: ' + (parseInt("11", new String("Infinity"))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T7.js
index 76ab6e050..2173331eb 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T7.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.
-/**
- * Operator use ToNumber
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.1_T7.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, Number)
- */
+/*---
+info: Operator use ToNumber
+description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
+---*/
//CHECK#1
var object = {valueOf: function() {return 2}};
@@ -76,4 +74,3 @@ catch (e) {
$ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseInt("11", object) throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T1.js
index 07b4b17e6..0943689a0 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T1.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.
-/**
- * Operator use ToInt32
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T1.js
- * @description If radix is NaN, +0, -0, +Infinity, -Infinity, return radix = +0
- */
+/*---
+info: Operator use ToInt32
+description: If radix is NaN, +0, -0, +Infinity, -Infinity, return radix = +0
+---*/
//CHECK#1
if (parseInt("11", NaN) !== parseInt("11", 10)) {
@@ -32,4 +30,3 @@ if (parseInt("11", Number.POSITIVE_INFINITY) !== parseInt("11", 10)) {
if (parseInt("11", Number.NEGATIVE_INFINITY) !== parseInt("11", 10)) {
$ERROR('#5: parseInt("11", Number.NEGATIVE_INFINITY) === parseInt("11", 10). Actual: ' + (parseInt("11", Number.NEGATIVE_INFINITY)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T2.js
index 9611147b2..29d78bbd6 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T2.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.
-/**
- * Operator use ToInt32
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T2.js
- * @description ToInt32 use floor
- */
+/*---
+info: Operator use ToInt32
+description: ToInt32 use floor
+---*/
//CHECK#1
if (parseInt("11", 2.1) !== parseInt("11", 2)) {
@@ -32,4 +30,3 @@ if (parseInt("11", 2.000000000001) !== parseInt("11", 2)) {
if (parseInt("11", 2.999999999999) !== parseInt("11", 2)) {
$ERROR('#5: parseInt("11", 2.999999999999) === parseInt("11", 2). Actual: ' + (parseInt("11", 2.999999999999)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T3.js
index d06fc795f..664dba779 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T3.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.
-/**
- * Operator use ToInt32
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A3.2_T3.js
- * @description ToInt32 use modulo
- */
+/*---
+info: Operator use ToInt32
+description: ToInt32 use modulo
+---*/
//CHECK#1
if (parseInt("11", 4294967298) !== parseInt("11", 2)) {
@@ -27,4 +25,3 @@ if (isNaN(parseInt("11", -2147483650)) !== true) {
if (parseInt("11", -4294967294) !== parseInt("11", 2)) {
$ERROR('#4: parseInt("11", -4294967294) === parseInt("11", 2). Actual: ' + (parseInt("11", -4294967294)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T1.js
index 859c1c178..55e756042 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T1.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.
-/**
- * If R = 0 or R = undefined, then R = 10
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T1.js
- * @description R = 0
- */
+/*---
+info: If R = 0 or R = undefined, then R = 10
+description: R = 0
+---*/
//CHECK#0
if (parseInt("0", 0) !== parseInt("0", 10)) {
@@ -71,5 +69,4 @@ if (parseInt("11", 0) !== parseInt("11", 10)) {
//CHECK#12
if (parseInt("9999", 0) !== parseInt("9999", 10)) {
$ERROR('#12: parseInt("9999", 0) === parseInt("9999", 10). Actual: ' + (parseInt("9999", 0)));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T2.js
index d7e82dcbc..353f53c38 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T2.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.
-/**
- * If R = 0 or R = undefined, then R = 10
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.1_T2.js
- * @description R = undefined
- */
+/*---
+info: If R = 0 or R = undefined, then R = 10
+description: R = undefined
+---*/
//CHECK#0
if (parseInt("0") !== parseInt("0", 10)) {
@@ -71,5 +69,4 @@ if (parseInt("11") !== parseInt("11", 10)) {
//CHECK#12
if (parseInt("9999") !== parseInt("9999", 10)) {
$ERROR('#12: parseInt("9999") === parseInt("9999", 10). Actual: ' + (parseInt("9999")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T1.js
index c7b353e5b..310db989f 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T1.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.
-/**
- * If R < 2 or R > 36, then return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T1.js
- * @description R = 1
- */
+/*---
+info: If R < 2 or R > 36, then return NaN
+description: R = 1
+---*/
//CHECK#0
if (isNaN(parseInt("0", 1)) !== true) {
@@ -66,5 +64,4 @@ if (isNaN(parseInt("10", 1)) !== true) {
//CHECK#11
if (isNaN(parseInt("11", 1)) !== true) {
$ERROR('#11: parseInt("11", 1) === Not-a-Number. Actual: ' + (parseInt("11", 1)));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T2.js
index 55621e4b0..8c271567b 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T2.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.
-/**
- * If R < 2 or R > 36, then return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T2.js
- * @description R = 37
- */
+/*---
+info: If R < 2 or R > 36, then return NaN
+description: R = 37
+---*/
//CHECK#0
if (isNaN(parseInt("0", 37)) !== true) {
@@ -66,5 +64,4 @@ if (isNaN(parseInt("10", 37)) !== true) {
//CHECK#11
if (isNaN(parseInt("11", 37)) !== true) {
$ERROR('#11: parseInt("11", 37) === Not-a-Number. Actual: ' + (parseInt("11", 37)));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T3.js
index 16d554447..8a0a2b4bf 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T3.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.
-/**
- * If R < 2 or R > 36, then return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A4.2_T3.js
- * @description Complex test
- */
+/*---
+info: If R < 2 or R > 36, then return NaN
+description: Complex test
+---*/
//CHECK#
var pow = 2;
@@ -21,5 +19,4 @@ for (var i = 1; i < 32; i++) {
}
}
pow = pow * 2;
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.1_T1.js
index 541fdd355..b464ee69e 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.1_T1.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * parseInt is no longer allowed to treat a leading zero as indicating
- * octal. "If radix is undefined or 0, it is assumed to be 10 except
- * when the number begins with the character pairs 0x or 0X, in which
- * case a radix of 16 is assumed."
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.1_T1.js
- * @description Check if parseInt still accepts octal
- */
+/*---
+info: >
+ parseInt is no longer allowed to treat a leading zero as indicating
+ octal. "If radix is undefined or 0, it is assumed to be 10 except
+ when the number begins with the character pairs 0x or 0X, in which
+ case a radix of 16 is assumed."
+description: Check if parseInt still accepts octal
+---*/
if (parseInt('010') !== 10) {
$ERROR("parseInt should no longer accept octal");
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T1.js
index 7d6576d71..02d790588 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_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.
-/**
- * If the length of S is at least 2 and the first two characters of S
- * are either 0x or 0X, then remove the first two characters from S and let R = 16
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T1.js
- * @description : 0x
- */
+/*---
+info: >
+ If the length of S is at least 2 and the first two characters of S
+ are either 0x or 0X, then remove the first two characters from S and let R = 16
+description: ": 0x"
+---*/
//CHECK#0
if (parseInt("0x0", 0) !== parseInt("0", 16)) {
@@ -97,5 +96,4 @@ if (parseInt("0xE", 0) !== parseInt("E", 16)) {
//CHECK#ABCDEF
if (parseInt("0xABCDEF", 0) !== parseInt("ABCDEF", 16)) {
$ERROR('#ABCDEF: parseInt("0xABCDEF", 0) === parseInt("ABCDEF", 16). Actual: ' + (parseInt("0xABCDEF", 0)));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T2.js
index 9170b7796..eada11e06 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_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.
-/**
- * If the length of S is at least 2 and the first two characters of S
- * are either 0x or 0X, then remove the first two characters from S and let R = 16
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A5.2_T2.js
- * @description : 0X
- */
+/*---
+info: >
+ If the length of S is at least 2 and the first two characters of S
+ are either 0x or 0X, then remove the first two characters from S and let R = 16
+description: ": 0X"
+---*/
//CHECK#0
if (parseInt("0X0", 0) !== parseInt("0", 16)) {
@@ -97,5 +96,4 @@ if (parseInt("0XE") !== parseInt("E", 16)) {
//CHECK#ABCDEF
if (parseInt("0XABCDEF") !== parseInt("ABCDEF", 16)) {
$ERROR('#ABCDEF: parseInt("0XABCDEF") === parseInt("ABCDEF", 16). Actual: ' + (parseInt("0XABCDEF")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T1.js
index 2c2e96a5a..020769fcf 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T1.js
@@ -1,19 +1,17 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If S contains any character that is not a radix-R digit,
- * then let Z be the substring of S consisting of all characters before
- * the first such character; otherwise, let Z be S
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T1.js
- * @description Complex test. R in [2, 36]
- */
+/*---
+info: >
+ If S contains any character that is not a radix-R digit,
+ then let Z be the substring of S consisting of all characters before
+ the first such character; otherwise, let Z be S
+description: Complex test. R in [2, 36]
+---*/
//CHECK#
for (var i = 2; i <= 36; i++) {
if (parseInt("10$1", i) !== i) {
$ERROR('#' + i +': i = ' + i + 'parseInt("10$1", i) === i. Actual: ' + (parseInt("10$1", i)));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T2.js
index 0fcdb6837..112e8b6ba 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_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.
-/**
- * If S contains any character that is not a radix-R digit,
- * then let Z be the substring of S consisting of all characters before
- * the first such character; otherwise, let Z be S
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T2.js
- * @description Complex test. Radix-R notation in [0..9, A-Z]
- */
+/*---
+info: >
+ If S contains any character that is not a radix-R digit,
+ then let Z be the substring of S consisting of all characters before
+ the first such character; otherwise, let Z be S
+description: Complex test. Radix-R notation in [0..9, A-Z]
+---*/
//CHECK#
var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
@@ -16,5 +15,4 @@ for (var i = 2; i <= 36; i++) {
if (parseInt(R_digit[i - 2] + "$", i) !== i - 1) {
$ERROR('#' + i + ': ');
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T3.js
index d559d0675..cdbe4e685 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_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.
-/**
- * If S contains any character that is not a radix-R digit,
- * then let Z be the substring of S consisting of all characters before
- * the first such character; otherwise, let Z be S
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T3.js
- * @description Complex test. Radix-R notation in [0..9, a-z]
- */
+/*---
+info: >
+ If S contains any character that is not a radix-R digit,
+ then let Z be the substring of S consisting of all characters before
+ the first such character; otherwise, let Z be S
+description: Complex test. Radix-R notation in [0..9, a-z]
+---*/
//CHECK#
var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
@@ -16,5 +15,4 @@ for (var i = 2; i <= 36; i++) {
if (parseInt(R_digit[i - 2] + "$", i) !== i - 1) {
$ERROR('#' + i + ': ');
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T4.js
index 3b4dc78fa..cf98fa0bc 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_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.
-/**
- * If S contains any character that is not a radix-R digit,
- * then let Z be the substring of S consisting of all characters before
- * the first such character; otherwise, let Z be S
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T4.js
- * @description Complex test. Radix-R notation in [0..9, A-Z]
- */
+/*---
+info: >
+ If S contains any character that is not a radix-R digit,
+ then let Z be the substring of S consisting of all characters before
+ the first such character; otherwise, let Z be S
+description: Complex test. Radix-R notation in [0..9, A-Z]
+---*/
//CHECK#
var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
@@ -16,5 +15,4 @@ for (var i = 2; i <= 35; i++) {
if (parseInt(R_digit[i - 2] + R_digit[i - 1], i) !== i - 1) {
$ERROR('#' + i + ': ');
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T5.js
index 86f1fa4c7..6fcb07d4f 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T5.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.
-/**
- * If S contains any character that is not a radix-R digit,
- * then let Z be the substring of S consisting of all characters before
- * the first such character; otherwise, let Z be S
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T5.js
- * @description Complex test. Radix-R notation in [0..9, a-z]
- */
+/*---
+info: >
+ If S contains any character that is not a radix-R digit,
+ then let Z be the substring of S consisting of all characters before
+ the first such character; otherwise, let Z be S
+description: Complex test. Radix-R notation in [0..9, a-z]
+---*/
//CHECK#
var R_digit = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
@@ -16,5 +15,4 @@ for (var i = 2; i <= 35; i++) {
if (parseInt(R_digit[i - 2] + R_digit[i - 1], i) !== i - 1) {
$ERROR('#' + i + ': ');
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T6.js
index 228408b3b..822f5511c 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T6.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.
-/**
- * If S contains any character that is not a radix-R digit,
- * then let Z be the substring of S consisting of all characters before
- * the first such character; otherwise, let Z be S
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A6.1_T6.js
- * @description Complex test. Radix-R notation in [0..9]
- */
+/*---
+info: >
+ If S contains any character that is not a radix-R digit,
+ then let Z be the substring of S consisting of all characters before
+ the first such character; otherwise, let Z be S
+description: Complex test. Radix-R notation in [0..9]
+---*/
//CHECK#2
if (parseInt("0123456789", 2) !== 1) {
@@ -53,5 +52,4 @@ if (parseInt("01234567890", 9) !== 6053444) {
//CHECK#10
if (parseInt("01234567890", 10) !== Number(1234567890)) {
$ERROR('#10: parseInt("01234567890", 10) === Number(1234567890). Actual: ' + (parseInt("01234567890", 10)));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T1.js
index f01d60582..11b141abd 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T1.js
@@ -1,17 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Z is empty, return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T1.js
- * @description Complex test. R in [2, 36]
- */
+/*---
+info: If Z is empty, return NaN
+description: Complex test. R in [2, 36]
+---*/
//CHECK#
for (var i = 2; i <= 36; i++) {
if (isNaN(parseInt("$string", i)) !== true) {
$ERROR('#' + i + ': parseInt("$string", i) === Not-a-Number. Actual: ' + (parseInt("$string", i)));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T2.js
index 459097ce4..f4cc16f0d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T2.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.
-/**
- * If Z is empty, return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.1_T2.js
- * @description x is not a radix-R digit
- */
+/*---
+info: If Z is empty, return NaN
+description: x is not a radix-R digit
+---*/
//CHECK#1
if (isNaN(parseInt("$0x")) !== true) {
@@ -31,5 +29,4 @@ if (isNaN(parseInt("")) !== true) {
//CHECK#5
if (isNaN(parseInt(" ")) !== true) {
$ERROR('#5: parseInt(" ") === Not-a-Number. Actual: ' + (parseInt(" ")));
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T1.js
index 449f85a00..e5b673b53 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T1.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Compute the mathematical integer value
- * that is represented by Z in radix-R notation, using the
- * letters A-Z and a-z for digits with values 10 through 35.
- * Compute the number value for Result(16)
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T1.js
- * @description Complex test. Check algorithm
- */
+/*---
+info: >
+ Compute the mathematical integer value
+ that is represented by Z in radix-R notation, using the
+ letters A-Z and a-z for digits with values 10 through 35.
+ Compute the number value for Result(16)
+description: Complex test. Check algorithm
+---*/
//CHECK#
var R_digit1 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
@@ -33,5 +32,4 @@ for (var i = 2; i <= 36; i++) {
$ERROR('#' + i + '.' + j + ' : ');
}
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T2.js
index b11d44293..8dd7f623e 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T2.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Compute the mathematical integer value
- * that is represented by Z in radix-R notation, using the
- * letters A-Z and a-z for digits with values 10 through 35.
- * Compute the number value for Result(16)
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T2.js
- * @description Checking algorithm for R = 2
- */
+/*---
+info: >
+ Compute the mathematical integer value
+ that is represented by Z in radix-R notation, using the
+ letters A-Z and a-z for digits with values 10 through 35.
+ Compute the number value for Result(16)
+description: Checking algorithm for R = 2
+---*/
//CHECK#1
if (parseInt("1", 2) !== 1) {
@@ -110,4 +109,3 @@ if (parseInt("1111111111111111111", 2) !== 524287) {
if (parseInt("11111111111111111111", 2) !== 1048575) {
$ERROR('#20: parseInt("11111111111111111111", 2) === 1048575. Actual: ' + (parseInt("11111111111111111111", 2)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T3.js
index 77529e11f..643892c2c 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T3.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Compute the mathematical integer value
- * that is represented by Z in radix-R notation, using the
- * letters A-Z and a-z for digits with values 10 through 35.
- * Compute the number value for Result(16)
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.2_T3.js
- * @description Checking algorithm for R = 16
- */
+/*---
+info: >
+ Compute the mathematical integer value
+ that is represented by Z in radix-R notation, using the
+ letters A-Z and a-z for digits with values 10 through 35.
+ Compute the number value for Result(16)
+description: Checking algorithm for R = 16
+---*/
//CHECK#1
if (parseInt("0x1", 16) !== 1) {
@@ -110,4 +109,3 @@ if (parseInt("0x1000000000000000000", 16) !== 4722366482869645213696) {
if (parseInt("0x10000000000000000000", 16) !== 75557863725914323419136) {
$ERROR('#20: parseInt("0x10000000000000000000", 16) === 75557863725914323419136. Actual: ' + (parseInt("0x10000000000000000000", 16)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T1.js
index c9b796095..89f2a77a0 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T1.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.
-/**
- * Return sign * Result(17)
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T1.js
- * @description Complex test. Check algorithm
- */
+/*---
+info: Return sign * Result(17)
+description: Complex test. Check algorithm
+---*/
//CHECK#
var R_digit1 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
@@ -35,5 +33,4 @@ for (var i = 2; i <= 36; i++) {
$ERROR('#' + i + '.' + j + ' : ');
}
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T2.js
index de2b297e8..576a16aa9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T2.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.
-/**
- * Return sign * Result(17)
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T2.js
- * @description Checking algorithm for R = 2
- */
+/*---
+info: Return sign * Result(17)
+description: Checking algorithm for R = 2
+---*/
//CHECK#1
if (parseInt("-1", 2) !== -1) {
@@ -107,4 +105,3 @@ if (parseInt("-1111111111111111111", 2) !== -524287) {
if (parseInt("-11111111111111111111", 2) !== -1048575) {
$ERROR('#20: parseInt("-11111111111111111111", 2) === -1048575. Actual: ' + (parseInt("-11111111111111111111", 2)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T3.js
index aa4ee7ac3..3df1e1acb 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T3.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.
-/**
- * Return sign * Result(17)
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A7.3_T3.js
- * @description Checking algorithm for R = 10
- */
+/*---
+info: Return sign * Result(17)
+description: Checking algorithm for R = 10
+---*/
//CHECK#1
if (parseInt("-1", 10) !== -1) {
@@ -107,4 +105,3 @@ if (parseInt("-1000000000000000000", 10) !== -1000000000000000000) {
if (parseInt("-10000000000000000000", 10) !== -10000000000000000000) {
$ERROR('#20: parseInt("-10000000000000000000", 10) === -10000000000000000000. Actual: ' + (parseInt("-10000000000000000000", 10)));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A8.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A8.js
index 4176800b2..2f38efbe9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A8.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A8.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * parseInt may interpret only a leading portion of the string as
- * a number value; it ignores any characters that cannot be interpreted as part
- * of the notation of an decimal literal, and no indication is given that any such
- * characters were ignored.
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A8.js
- * @description Complex test without eval
- */
+/*---
+info: >
+ parseInt may interpret only a leading portion of the string as
+ a number value; it ignores any characters that cannot be interpreted as part
+ of the notation of an decimal literal, and no indication is given that any such
+ characters were ignored.
+description: Complex test without eval
+---*/
//CHECK
var errorCount = 0;
@@ -80,4 +79,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.1.js
index 6b8d9fde0..0918e4aa5 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.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 parseInt has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of parseInt has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (parseInt.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (var p in parseInt){
if (result !== true) {
$ERROR('#2: result = true; for (p in parseInt) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.2.js
index 978e920b5..6b640a962 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.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 parseInt has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.2.js
- * @description Checking use hasOwnProperty, delete
- * @noStrict
- */
+/*---
+info: The length property of parseInt has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+flags: [noStrict]
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (parseInt.hasOwnProperty('length') !== true) {
@@ -25,4 +24,3 @@ if (parseInt.hasOwnProperty('length') !== true) {
if (parseInt.length === undefined) {
$ERROR('#3: delete parseInt.length; parseInt.length !== undefined');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.3.js
index dc0a2c522..957670eb3 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.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 parseInt has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.3.js
- * @description Checking if varying the length property fails
- * @noStrict
- */
+/*---
+info: The length property of parseInt has the attribute ReadOnly
+description: Checking if varying the length property fails
+flags: [noStrict]
+---*/
//CHECK#1
x = parseInt.length;
@@ -15,5 +13,3 @@ parseInt.length = Infinity;
if (parseInt.length !== x) {
$ERROR('#1: x = parseInt.length; parseInt.length = Infinity; parseInt.length === x. Actual: ' + (parseInt.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.4.js
index f92a64bdb..ead4e410d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.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 parseInt is 2
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.4.js
- * @description parseInt.length === 2
- */
+/*---
+info: The length property of parseInt is 2
+description: parseInt.length === 2
+---*/
//CHECK#1
if (parseInt.length !== 2) {
$ERROR('#1: parseInt.length === 2. Actual: ' + (parseInt.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.5.js
index 18e6653a2..a01638d73 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.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 parseInt property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The parseInt property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('parseInt') !== false) {
@@ -24,4 +22,3 @@ for (var p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "parseInt") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.6.js
index 8fa118ec4..18b504c2a 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.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 parseInt property has not prototype property
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.6.js
- * @description Checking parseInt.prototype
- */
+/*---
+info: The parseInt property has not prototype property
+description: Checking parseInt.prototype
+---*/
//CHECK#1
if (parseInt.prototype !== undefined) {
$ERROR('#1: parseInt.prototype === undefined. Actual: ' + (parseInt.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.7.js
index 992aa4e12..6585229ad 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.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 parseInt property can't be used as constructor
- *
- * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A9.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The parseInt property 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 parseInt() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/15.1.2.3-2-1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/15.1.2.3-2-1.js
index 874d5c30f..27c4dac63 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/15.1.2.3-2-1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/15.1.2.3-2-1.js
@@ -1,15 +1,17 @@
-/// 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.1/15.1.2/15.1.2.3/15.1.2.3-2-1.js
- * @description pareseFloat - 'trimmedString' is the empty string when inputString does not contain any such characters
- */
-
-
-function testcase() {
- return isNaN(parseFloat("")) && parseFloat("") !== parseFloat("");
- }
-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: >
+ pareseFloat - 'trimmedString' is the empty string when inputString
+ does not contain any such characters
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ return isNaN(parseFloat("")) && parseFloat("") !== parseFloat("");
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T1.js
index fa0b4ae60..30b40922c 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T1.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T1.js
- * @description Checking for boolean primitive
- */
+/*---
+info: Operator use ToString
+description: Checking for boolean primitive
+---*/
//CHECK#1
if (!(isNaN(parseFloat(true)) && isNaN(parseFloat("NaN")))) {
@@ -17,4 +15,3 @@ if (!(isNaN(parseFloat(true)) && isNaN(parseFloat("NaN")))) {
if (String(parseFloat(false)) !== "NaN") {
$ERROR('#2: String(parseFloat(false)) === "NaN". Actual: ' + (String(parseFloat(false))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T2.js
index 02c7b2c9e..3cb3be752 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T2.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T2.js
- * @description Checking for number primitive
- */
+/*---
+info: Operator use ToString
+description: Checking for number primitive
+---*/
//CHECK#1
if (parseFloat(-1.1) !== parseFloat("-1.1")) {
@@ -35,5 +33,4 @@ if (parseFloat(-0) !== 0) {
if (1 / parseFloat(-0) !== Number.POSITIVE_INFINITY) {
$ERROR('#5: parseFloat(-0) === +0. Actual: ' + (parseFloat(-0)));
}
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T3.js
index ddbe26109..6dd5ff5f9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T3.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T3.js
- * @description Checking for undefined and null
- */
+/*---
+info: Operator use ToString
+description: Checking for undefined and null
+---*/
//CHECK#1
if (!(isNaN(parseFloat(undefined)) && isNaN(parseFloat("NaN")))) {
@@ -28,4 +26,3 @@ if (String(parseFloat(undefined)) !== "NaN") {
if (String(parseFloat(null)) !== "NaN") {
$ERROR('#4: String(parseFloat(null)) === "NaN". Actual: ' + (String(parseFloat(null))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T4.js
index cf769c03e..cbcd0ec17 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T4.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T4.js
- * @description Checking for Boolean object
- */
+/*---
+info: Operator use ToString
+description: Checking for Boolean object
+---*/
//CHECK#1
if (!(isNaN(parseFloat(new Boolean(true))) && isNaN(parseFloat("NaN")))) {
@@ -17,4 +15,3 @@ if (!(isNaN(parseFloat(new Boolean(true))) && isNaN(parseFloat("NaN")))) {
if (String(parseFloat(new Boolean(false))) !== "NaN") {
$ERROR('#2: String(parseFloat(new Boolean(false))) === "NaN". Actual: ' + (String(parseFloat(new Boolean(false)))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T5.js
index 36259b4fb..87f8f5bf5 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T5.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T5.js
- * @description Checking for Number object
- */
+/*---
+info: Operator use ToString
+description: Checking for Number object
+---*/
//CHECK#1
if (parseFloat(new Number(-1.1)) !== parseFloat("-1.1")) {
@@ -27,4 +25,3 @@ if (String(parseFloat(new Number(NaN))) !== "NaN") {
if (parseFloat(new Number(.01e+2)) !== parseFloat(".01e+2")) {
$ERROR('#4: parseFloat(new Number(.01e+2)) === parseFloat(".01e+2"). Actual: ' + (parseFloat(new Number(.01e+2))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T6.js
index f54bc62f1..1f0f70101 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T6.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T6.js
- * @description Checking for String object
- */
+/*---
+info: Operator use ToString
+description: Checking for String object
+---*/
//CHECK#1
if (parseFloat(new String("-1.1")) !== parseFloat("-1.1")) {
@@ -32,4 +30,3 @@ if (parseFloat(new String(".01e+2")) !== parseFloat(".01e+2")) {
if (String(parseFloat(new String("false"))) !== "NaN") {
$ERROR('#5: String(parseFloat(new String("false"))) === "NaN". Actual: ' + (String(parseFloat(new String("false")))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T7.js
index 8b383ea53..3fd4e2fb0 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T7.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.
-/**
- * Operator use ToString
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A1_T7.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, String)
- */
+/*---
+info: Operator use ToString
+description: If Type(value) is Object, evaluate ToPrimitive(value, String)
+---*/
//CHECK#1
var object = {valueOf: function() {return 1}};
@@ -76,4 +74,3 @@ catch (e) {
$ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; parseFloat(object) throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T1.js
index fa5a600a9..f69a27731 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T1.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T1.js
- * @description StrWhiteSpaceChar :: TAB (U+0009)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: TAB (U+0009)"
+---*/
//CHECK#1
if (parseFloat("\u00091.1") !== parseFloat("1.1")) {
@@ -37,4 +35,3 @@ if (parseFloat(" \u0009 \u0009-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u0009")) !== true) {
$ERROR('#6: parseFloat("\\u0009") === Not-a-Number. Actual: ' + (parseFloat("\u0009")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T10.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T10.js
index 2cdb2a754..5d7c5d3c3 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T10.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T10.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T10.js
- * @description StrWhiteSpaceChar :: USP
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: USP"
+---*/
//CHECK#
var count = 0;
@@ -36,4 +34,3 @@ for (var index = 0; index < uspU.length; index++) {
if (errorCount > 0) {
$ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count);
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T2.js
index 711bb6e79..d4bb7b562 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T2.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T2.js
- * @description StrWhiteSpaceChar :: SP (U+0020)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: SP (U+0020)"
+---*/
//CHECK#1
if (parseFloat("\u00201.1") !== parseFloat("1.1")) {
@@ -37,4 +35,3 @@ if (parseFloat(" \u0020 \u0020-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u0020")) !== true) {
$ERROR('#6: parseFloat("\\u0020") === Not-a-Number. Actual: ' + (parseFloat("\u0020")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T3.js
index 5d5e41f92..4a530c85d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T3.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T3.js
- * @description StrWhiteSpaceChar :: NBSB (U+00A0)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: NBSB (U+00A0)"
+---*/
//CHECK#1
if (parseFloat("\u00A01.1") !== parseFloat("1.1")) {
@@ -22,4 +20,3 @@ if (parseFloat("\u00A0\u00A0-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u00A0")) !== true) {
$ERROR('#3: parseFloat("\\u00A0") === Not-a-Number. Actual: ' + (parseFloat("\u00A0")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T4.js
index 1bf82ac84..ddc780f47 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T4.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T4.js
- * @description StrWhiteSpaceChar :: FF (U+000C)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: FF (U+000C)"
+---*/
//CHECK#1
if (parseFloat("\u000C1.1") !== parseFloat("1.1")) {
@@ -22,4 +20,3 @@ if (parseFloat("\u000C\u000C-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u000C")) !== true) {
$ERROR('#3: parseFloat("\\u000C") === Not-a-Number. Actual: ' + (parseFloat("\u000C")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T5.js
index ad1bf7878..ff6771fd2 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T5.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T5.js
- * @description StrWhiteSpaceChar :: VT (U+000B)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: VT (U+000B)"
+---*/
//CHECK#1
if (parseFloat("\u000B1.1") !== parseFloat("1.1")) {
@@ -22,4 +20,3 @@ if (parseFloat("\u000B\u000B-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u000B")) !== true) {
$ERROR('#3: parseFloat("\\u000B") === Not-a-Number. Actual: ' + (parseFloat("\u000B")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T6.js
index 6d2905d89..550e2a623 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T6.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T6.js
- * @description StrWhiteSpaceChar :: CR (U+000D)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: CR (U+000D)"
+---*/
//CHECK#1
if (parseFloat("\u000D1.1") !== parseFloat("1.1")) {
@@ -22,4 +20,3 @@ if (parseFloat("\u000D\u000D-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u000D")) !== true) {
$ERROR('#3: parseFloat("\\u000D") === Not-a-Number. Actual: ' + (parseFloat("\u000D")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T7.js
index d114913eb..635bba4c7 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T7.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T7.js
- * @description StrWhiteSpaceChar :: LF (U+000A)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: LF (U+000A)"
+---*/
//CHECK#1
if (parseFloat("\u000A1.1") !== parseFloat("1.1")) {
@@ -22,4 +20,3 @@ if (parseFloat("\u000A\u000A-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u000A")) !== true) {
$ERROR('#3: parseFloat("\\u000A") === Not-a-Number. Actual: ' + (parseFloat("\u000A")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T8.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T8.js
index f7f2576fe..494715e1f 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T8.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T8.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T8.js
- * @description StrWhiteSpaceChar :: LS (U+2028)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: LS (U+2028)"
+---*/
//CHECK#1
if (parseFloat("\u20281.1") !== parseFloat("1.1")) {
@@ -22,4 +20,3 @@ if (parseFloat("\u2028\u2028-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u2028")) !== true) {
$ERROR('#3: parseFloat("\\u2028") === Not-a-Number. Actual: ' + (parseFloat("\u2028")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T9.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T9.js
index 0c0252069..96c459816 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T9.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T9.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.
-/**
- * Operator remove leading StrWhiteSpaceChar
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A2_T9.js
- * @description StrWhiteSpaceChar :: PS (U+2029)
- */
+/*---
+info: Operator remove leading StrWhiteSpaceChar
+description: "StrWhiteSpaceChar :: PS (U+2029)"
+---*/
//CHECK#1
if (parseFloat("\u20291.1") !== parseFloat("1.1")) {
@@ -22,4 +20,3 @@ if (parseFloat("\u2029\u2029-1.1") !== parseFloat("-1.1")) {
if (isNaN(parseFloat("\u2029")) !== true) {
$ERROR('#3: parseFloat("\\u2029") === Not-a-Number. Actual: ' + (parseFloat("\u2029")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T1.js
index 6d131659a..17dbde946 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_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.
-/**
- * If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
- * StrDecimalLiteral (see 9.3.1), return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T1.js
- * @description parseFloat("some string") return NaN
- */
+/*---
+info: >
+ If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
+ StrDecimalLiteral (see 9.3.1), return NaN
+description: parseFloat("some string") return NaN
+---*/
//CHECK#1
if (isNaN(parseFloat("str")) !== true) {
@@ -43,4 +42,3 @@ if (String(parseFloat("")) !== "NaN") {
if (String(parseFloat("+")) !== "NaN") {
$ERROR('#7: String(parseFloat("+")) === "NaN". Actual: ' + (String(parseFloat("+"))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T2.js
index 8e550a0a7..4bb9676fe 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_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.
-/**
- * If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
- * StrDecimalLiteral (see 9.3.1), return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T2.js
- * @description parseFloat("wrong number format with ExponentIndicator") return NaN
- */
+/*---
+info: >
+ If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
+ StrDecimalLiteral (see 9.3.1), return NaN
+description: parseFloat("wrong number format with ExponentIndicator") return NaN
+---*/
//CHECK#1
if (isNaN(parseFloat("e1")) !== true) {
@@ -58,4 +57,3 @@ if (isNaN(parseFloat("-.e-1")) !== true) {
if (isNaN(parseFloat(".e1")) !== true) {
$ERROR('#10: parseFloat(".e1") === Not-a-Number. Actual: ' + (parseFloat(".e1")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T3.js
index 51c7869f1..73c49ce5a 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T3.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.
-/**
- * If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
- * StrDecimalLiteral (see 9.3.1), return NaN
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A3_T3.js
- * @description parseFloat("wrong numbr format") return NaN
- */
+/*---
+info: >
+ If neither Result(2) nor any prefix of Result(2) satisfies the syntax of a
+ StrDecimalLiteral (see 9.3.1), return NaN
+description: parseFloat("wrong numbr format") return NaN
+---*/
//CHECK#1
if (isNaN(parseFloat(".x")) !== true) {
@@ -48,4 +47,3 @@ if (String(parseFloat("infinity")) !== "NaN") {
if (String(parseFloat("A")) !== "NaN") {
$ERROR('#8: String(parseFloat("A")) === "NaN". Actual: ' + (String(parseFloat("A"))));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T1.js
index ea696cec4..f679c9354 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_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.
-/**
- * Compute the longest prefix of Result(2), which might be Result(2) itself,
- * which satisfies the syntax of a StrDecimalLiteral
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T1.js
- * @description Some wrong number
- */
+/*---
+info: >
+ Compute the longest prefix of Result(2), which might be Result(2) itself,
+ which satisfies the syntax of a StrDecimalLiteral
+description: Some wrong number
+---*/
//CHECK#1
if (parseFloat("0x") !== 0) {
@@ -53,4 +52,3 @@ if (parseFloat("0.1.1") !== 0.1) {
if (parseFloat("0. 1") !== 0) {
$ERROR('#9: parseFloat("0. 1") === 0. Actual: ' + (parseFloat("0. 1")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T2.js
index 40c18ff86..0f2754035 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_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.
-/**
- * Compute the longest prefix of Result(2), which might be Result(2) itself,
- * which satisfies the syntax of a StrDecimalLiteral
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T2.js
- * @description With ExponentIndicator
- */
+/*---
+info: >
+ Compute the longest prefix of Result(2), which might be Result(2) itself,
+ which satisfies the syntax of a StrDecimalLiteral
+description: With ExponentIndicator
+---*/
//CHECK#1
if (parseFloat("1ex") !== 1) {
@@ -33,4 +32,3 @@ if (parseFloat("1e-1x") !== 0.1) {
if (parseFloat("0.1e-1x") !== 0.01) {
$ERROR('#5: parseFloat("0.1e-1x") === 0.01. Actual: ' + (parseFloat("0.1e-1x")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T3.js
index 76da0e47d..496802cdd 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T3.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.
-/**
- * Compute the longest prefix of Result(2), which might be Result(2) itself,
- * which satisfies the syntax of a StrDecimalLiteral
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T3.js
- * @description StrDecimalLiteral not contain HexIntegerLiteral
- */
+/*---
+info: >
+ Compute the longest prefix of Result(2), which might be Result(2) itself,
+ which satisfies the syntax of a StrDecimalLiteral
+description: StrDecimalLiteral not contain HexIntegerLiteral
+---*/
//CHECK#0
if (parseFloat("0x0") !== 0) {
@@ -88,4 +87,3 @@ if (parseFloat("0xE") !== 0) {
if (parseFloat("0xF") !== 0) {
$ERROR('#F: parseFloat("0xF") === 0. Actual: ' + (parseFloat("0xF")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T4.js
index 4fef9fc07..caf6f3197 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T4.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.
-/**
- * Compute the longest prefix of Result(2), which might be Result(2) itself,
- * which satisfies the syntax of a StrDecimalLiteral
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T4.js
- * @description "Infinity"+"some string"
- */
+/*---
+info: >
+ Compute the longest prefix of Result(2), which might be Result(2) itself,
+ which satisfies the syntax of a StrDecimalLiteral
+description: "\"Infinity\"+\"some string\""
+---*/
//CHECK#1
if (parseFloat("Infinity1") !== Number.POSITIVE_INFINITY) {
@@ -23,4 +22,3 @@ if (parseFloat("Infinityx") !== Number.POSITIVE_INFINITY) {
if (parseFloat("Infinity+1") !== Number.POSITIVE_INFINITY) {
$ERROR('#3: parseFloat("Infinity+1") === Number.POSITIVE_INFINITY. Actual: ' + (parseFloat("Infinity+1")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T5.js
index ecbddb449..31a92fff3 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T5.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.
-/**
- * Compute the longest prefix of Result(2), which might be Result(2) itself,
- * which satisfies the syntax of a StrDecimalLiteral
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T5.js
- * @description Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt
- */
+/*---
+info: >
+ Compute the longest prefix of Result(2), which might be Result(2) itself,
+ which satisfies the syntax of a StrDecimalLiteral
+description: Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt
+---*/
//CHECK#1
if (parseFloat("-11.string") !== -11) {
@@ -58,4 +57,3 @@ if (parseFloat("001.string") !== 1) {
if (parseFloat("010.string") !== 10) {
$ERROR('#10: parseFloat("010.string") === 10. Actual: ' + (parseFloat("010.string")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T6.js
index 5272a62fb..077d5c53f 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T6.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.
-/**
- * Compute the longest prefix of Result(2), which might be Result(2) itself,
- * which satisfies the syntax of a StrDecimalLiteral
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T6.js
- * @description Checking . DecimalDigits ExponentPart_opt
- */
+/*---
+info: >
+ Compute the longest prefix of Result(2), which might be Result(2) itself,
+ which satisfies the syntax of a StrDecimalLiteral
+description: Checking . DecimalDigits ExponentPart_opt
+---*/
//CHECK#1
if (parseFloat("+.1string") !== 0.1) {
@@ -23,4 +22,3 @@ if (parseFloat(".01string") !== 0.01) {
if (parseFloat("+.22e-1string") !== 0.022) {
$ERROR('#3: parseFloat("+.22e-1string") === 0.022. Actual: ' + (parseFloat("+.22e-1string")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T7.js
index 0f77778f9..5fe1b9358 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T7.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.
-/**
- * Compute the longest prefix of Result(2), which might be Result(2) itself,
- * which satisfies the syntax of a StrDecimalLiteral
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A4_T7.js
- * @description Checking DecimalDigits ExponentPart_opt
- */
+/*---
+info: >
+ Compute the longest prefix of Result(2), which might be Result(2) itself,
+ which satisfies the syntax of a StrDecimalLiteral
+description: Checking DecimalDigits ExponentPart_opt
+---*/
//CHECK#1
if (parseFloat("-11string") !== -11) {
@@ -43,4 +42,3 @@ if (parseFloat("1e001string") !== 10) {
if (parseFloat("010string") !== 10) {
$ERROR('#7: parseFloat("010string") === 10. Actual: ' + (parseFloat("010string")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T1.js
index 6ed8521aa..38ef3b79d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T1.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.
-/**
- * Return the number value for the MV of Result(4)
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T1.js
- * @description Checking Infinity
- */
+/*---
+info: Return the number value for the MV of Result(4)
+description: Checking Infinity
+---*/
//CHECK#1
if (parseFloat("Infinity") !== Number.POSITIVE_INFINITY) {
@@ -22,4 +20,3 @@ if (parseFloat("+Infinity") !== Number.POSITIVE_INFINITY) {
if (parseFloat("-Infinity") !== Number.NEGATIVE_INFINITY) {
$ERROR('#3: parseFloat("-Infinity") === Number.NEGATIVE_INFINITY. Actual: ' + (parseFloat("-Infinity")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T2.js
index b59fb7900..9288e4764 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T2.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.
-/**
- * Return the number value for the MV of Result(4)
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T2.js
- * @description Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt
- */
+/*---
+info: Return the number value for the MV of Result(4)
+description: Checking DecimalDigits . DecimalDigits_opt ExponentPart_opt
+---*/
//CHECK#1
if (parseFloat("-11.") !== -11) {
@@ -57,4 +55,3 @@ if (parseFloat("001.") !== 1) {
if (parseFloat("010.") !== 10) {
$ERROR('#10: parseFloat("010.") === 10. Actual: ' + (parseFloat("010.")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T3.js
index b2a2097e9..848df6ecc 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T3.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.
-/**
- * Return the number value for the MV of Result(4)
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T3.js
- * @description Checking . DecimalDigits ExponentPart_opt
- */
+/*---
+info: Return the number value for the MV of Result(4)
+description: Checking . DecimalDigits ExponentPart_opt
+---*/
//CHECK#1
if (parseFloat("+.1") !== 0.1) {
@@ -22,4 +20,3 @@ if (parseFloat(".01") !== 0.01) {
if (parseFloat("+.22e-1") !== 0.022) {
$ERROR('#3: parseFloat("+.22e-1") === 0.022. Actual: ' + (parseFloat("+.22e-1")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T4.js
index d92e3bcb0..a4215b489 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T4.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.
-/**
- * Return the number value for the MV of Result(4)
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A5_T4.js
- * @description Checking DecimalDigits ExponentPart_opt
- */
+/*---
+info: Return the number value for the MV of Result(4)
+description: Checking DecimalDigits ExponentPart_opt
+---*/
//CHECK#1
if (parseFloat("-11") !== -11) {
@@ -42,4 +40,3 @@ if (parseFloat("1e001") !== 10) {
if (parseFloat("010") !== 10) {
$ERROR('#7: parseFloat("010") === 10. Actual: ' + (parseFloat("010")));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A6.js
index 8c626a855..3663299c9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A6.js
@@ -1,15 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * parseFloat may interpret only a leading portion of the string as
- * a number value; it ignores any characters that cannot be interpreted as part
- * of the notation of an decimal literal, and no indication is given that any such
- * characters were ignored.
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A6.js
- * @description Complex test without eval
- */
+/*---
+info: >
+ parseFloat may interpret only a leading portion of the string as
+ a number value; it ignores any characters that cannot be interpreted as part
+ of the notation of an decimal literal, and no indication is given that any such
+ characters were ignored.
+description: Complex test without eval
+---*/
//CHECK
var errorCount = 0;
@@ -78,4 +77,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.1.js
index a63830dd2..5761be4f4 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.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 parseFloat has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of parseFloat has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (parseFloat.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (var p in parseFloat){
if (result !== true) {
$ERROR('#2: result = true; for (p in parseFloat) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.2.js
index 84fa178c0..3b5d7a32a 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.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 parseFloat has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.2.js
- * @description Checking use hasOwnProperty, delete
- * @noStrict
- */
+/*---
+info: The length property of parseFloat has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+flags: [noStrict]
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (parseFloat.hasOwnProperty('length') !== true) {
@@ -25,4 +24,3 @@ if (parseFloat.hasOwnProperty('length') !== true) {
if (parseFloat.length === undefined) {
$ERROR('#3: delete parseFloat.length; parseFloat.length !== undefined');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.3.js
index 28d1839ed..c7861cce0 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.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 parseFloat has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.3.js
- * @description Checking if varying the length property fails
- * @noStrict
- */
+/*---
+info: The length property of parseFloat has the attribute ReadOnly
+description: Checking if varying the length property fails
+flags: [noStrict]
+---*/
//CHECK#1
var x = parseFloat.length;
@@ -15,5 +13,3 @@ parseFloat.length = Infinity;
if (parseFloat.length !== x) {
$ERROR('#1: x = parseFloat.length; parseFloat.length = Infinity; parseFloat.length === x. Actual: ' + (parseFloat.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.4.js
index 085fac1a3..61c1306ec 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.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 parseFloat is 1
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.4.js
- * @description parseFloat.length === 1
- */
+/*---
+info: The length property of parseFloat is 1
+description: parseFloat.length === 1
+---*/
//CHECK#1
if (parseFloat.length !== 1) {
$ERROR('#1: parseFloat.length === 1. Actual: ' + (parseFloat.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.5.js
index abf91c709..8c966d23c 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.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 parseFloat property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The parseFloat property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('parseFloat') !== false) {
@@ -24,4 +22,3 @@ for (var p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "parseFloat") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.6.js
index 773ea4dfa..7b5b93cdd 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.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 parseFloat property has not prototype property
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.6.js
- * @description Checking parseFloat.prototype
- */
+/*---
+info: The parseFloat property has not prototype property
+description: Checking parseFloat.prototype
+---*/
//CHECK#1
if (parseFloat.prototype !== undefined) {
$ERROR('#1: parseFloat.prototype === undefined. Actual: ' + (parseFloat.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.7.js
index ffa1934e7..1da8b0932 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.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 parseFloat property can't be used as constructor
- *
- * @path ch15/15.1/15.1.2/15.1.2.3/S15.1.2.3_A7.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The parseFloat property 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 parseFloat() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T1.js
index 59cf248bc..201ba067d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_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.
-/**
- * isNaN applies ToNumber to its argument, then return true if the result is NaN, and otherwise return false
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T1.js
- * @description Checking all primitive
- */
+/*---
+info: >
+ isNaN applies ToNumber to its argument, then return true if the result is
+ NaN, and otherwise return false
+description: Checking all primitive
+---*/
// CHECK#1
if (!(isNaN(NaN) === true)) {
@@ -67,8 +67,3 @@ if (isNaN(true) === true) {
if (isNaN("1") === true) {
$ERROR('#12: "1" !== Not-a-Number');
}
-
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T2.js
index c9e957fe0..6920f06f9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T2.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.
-/**
- * isNaN applies ToNumber to its argument, then return true if the result is NaN, and otherwise return false
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A1_T2.js
- * @description Checking all object
- */
+/*---
+info: >
+ isNaN applies ToNumber to its argument, then return true if the result is
+ NaN, and otherwise return false
+description: Checking all object
+---*/
// CHECK#1
if (!(isNaN({}) === true)) {
@@ -37,8 +37,3 @@ if (!(isNaN(new Number(NaN)) === true)) {
if (isNaN(new Boolean(true)) === true) {
$ERROR('#6: new Boolean(true) !== Not-a-Number');
}
-
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.1.js
index 6b6099334..07493fe5d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.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 isNaN has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of isNaN has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (isNaN.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (p in isNaN){
if (result !== true) {
$ERROR('#2: result = true; for (p in isNaN) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.2.js
index a2539fb9b..2df18a2c6 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.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 isNaN has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.2.js
- * @description Checking use hasOwnProperty, delete
- * @noStrict
- */
+/*---
+info: The length property of isNaN has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+flags: [noStrict]
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (isNaN.hasOwnProperty('length') !== true) {
@@ -25,4 +24,3 @@ if (isNaN.hasOwnProperty('length') !== true) {
if (isNaN.length === undefined) {
$ERROR('#3: delete isNaN.length; isNaN.length !== undefined');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.3.js
index 8daaa8964..fa138562d 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.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 isNaN has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.3.js
- * @description Checking if varying the length property fails
- * @noStrict
- */
+/*---
+info: The length property of isNaN has the attribute ReadOnly
+description: Checking if varying the length property fails
+flags: [noStrict]
+---*/
//CHECK#1
x = isNaN.length;
@@ -15,5 +13,3 @@ isNaN.length = Infinity;
if (isNaN.length !== x) {
$ERROR('#1: x = isNaN.length; isNaN.length = Infinity; isNaN.length === x. Actual: ' + (isNaN.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.4.js
index b8f6aedcf..a58427f6f 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.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 isNaN is 1
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.4.js
- * @description isNaN.length === 1
- */
+/*---
+info: The length property of isNaN is 1
+description: isNaN.length === 1
+---*/
//CHECK#1
if (isNaN.length !== 1) {
$ERROR('#1: isNaN.length === 1. Actual: ' + (isNaN.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.5.js
index bf9ae3937..67fdd1964 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.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 isNaN property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The isNaN property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('isNaN') !== false) {
@@ -24,4 +22,3 @@ for (p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "isNaN") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.6.js
index cad9bed13..85d457aad 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.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 isNaN property has not prototype property
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.6.js
- * @description Checking isNaN.prototype
- */
+/*---
+info: The isNaN property has not prototype property
+description: Checking isNaN.prototype
+---*/
//CHECK#1
if (isNaN.prototype !== undefined) {
$ERROR('#1: isNaN.prototype === undefined. Actual: ' + (isNaN.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.7.js
index e6725cd02..624ad23ca 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.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 isNaN property can't be used as constructor
- *
- * @path ch15/15.1/15.1.2/15.1.2.4/S15.1.2.4_A2.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The isNaN property 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 isNaN() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T1.js
index 1e952b218..a6f0d7141 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_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.
-/**
- * isFinite applies ToNumber to its argument, then return false if the result is NaN, +Infinity, -Infinity, and otherwise return true
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T1.js
- * @description Checking all primitive
- */
+/*---
+info: >
+ isFinite applies ToNumber to its argument, then return false if the
+ result is NaN, +Infinity, -Infinity, and otherwise return true
+description: Checking all primitive
+---*/
// CHECK#1
if (!(isFinite(NaN) === false)) {
@@ -67,4 +67,3 @@ if (isFinite(false) === false) {
if (isFinite("1") === false) {
$ERROR('#12: "1" !== Not-a-Finite');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T2.js
index 86ea9a37d..776007ef9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T2.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.
-/**
- * isFinite applies ToNumber to its argument, then return false if the result is NaN, +Infinity, -Infinity, and otherwise return true
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A1_T2.js
- * @description Checking all object
- */
+/*---
+info: >
+ isFinite applies ToNumber to its argument, then return false if the
+ result is NaN, +Infinity, -Infinity, and otherwise return true
+description: Checking all object
+---*/
// CHECK#1
if (!(isFinite({}) === false)) {
@@ -37,4 +37,3 @@ if (!(isFinite(new Number(NaN)) === false)) {
if (isFinite(new Boolean(true)) === false) {
$ERROR('#6: new Boolean(true) !== Not-a-Finite');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.1.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.1.js
index 0e1970eaa..0a3d91ed7 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.1.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.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 isFinite has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of isFinite has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (isFinite.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (p in isFinite){
if (result !== true) {
$ERROR('#2: result = true; for (p in isFinite) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.2.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.2.js
index 56d2c637a..7dc204afb 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.2.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.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 isFinite has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.2.js
- * @description Checking use hasOwnProperty, delete
- * @noStrict
- */
+/*---
+info: The length property of isFinite has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+flags: [noStrict]
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (isFinite.hasOwnProperty('length') !== true) {
@@ -25,4 +24,3 @@ if (isFinite.hasOwnProperty('length') !== true) {
if (isFinite.length === undefined) {
$ERROR('#3: delete isFinite.length; isFinite.length !== undefined');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.3.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.3.js
index af8441a36..3c91fa3d2 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.3.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.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 isFinite has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.3.js
- * @description Checking if varying the length property fails
- * @noStrict
- */
+/*---
+info: The length property of isFinite has the attribute ReadOnly
+description: Checking if varying the length property fails
+flags: [noStrict]
+---*/
//CHECK#1
x = isFinite.length;
@@ -15,5 +13,3 @@ isFinite.length = Infinity;
if (isFinite.length !== x) {
$ERROR('#1: x = isFinite.length; isFinite.length = Infinity; isFinite.length === x. Actual: ' + (isFinite.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.4.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.4.js
index cba913c9a..b287e5be9 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.4.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.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 isFinite is 1
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.4.js
- * @description isFinite.length === 1
- */
+/*---
+info: The length property of isFinite is 1
+description: isFinite.length === 1
+---*/
//CHECK#1
if (isFinite.length !== 1) {
$ERROR('#1: isFinite.length === 1. Actual: ' + (isFinite.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.5.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.5.js
index b8599f2c3..58ca98274 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.5.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.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 isFinite property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The isFinite property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('isFinite') !== false) {
@@ -24,4 +22,3 @@ for (p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "isFinite") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.6.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.6.js
index e9f6e408b..e029d103e 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.6.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.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 isFinite property has not prototype property
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.6.js
- * @description Checking isFinit.prototype
- */
+/*---
+info: The isFinite property has not prototype property
+description: Checking isFinit.prototype
+---*/
//CHECK#1
if (isFinite.prototype !== undefined) {
$ERROR('#1: isFinite.prototype === undefined. Actual: ' + (isFinite.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.7.js b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.7.js
index b388cd30f..5ff35ecbd 100644
--- a/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.7.js
+++ b/test/suite/ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.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 isFinite property can't be used as constructor
- *
- * @path ch15/15.1/15.1.2/15.1.2.5/S15.1.2.5_A2.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The isFinite property 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 isFinite() throw TypeError. Actual: ' + (e));
}
}
-