aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.1/15.1.3
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.1/15.1.3')
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.10_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T1.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T2.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T1.js21
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T2.js21
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T3.js21
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T3.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T4.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T3.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T4.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T5.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T6.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.1_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.4_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.5_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.6_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.7_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T1.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T2.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T1.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T2.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T3.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js12
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.3_T1.js18
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.4_T1.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.5_T1.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.2.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.3.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A6_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.10_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T1.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T2.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T1.js21
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T2.js21
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T3.js21
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T3.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T4.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T3.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T4.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T5.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T6.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.1_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T1.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T2.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.4_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.5_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.6_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.7_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T1.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T2.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T1.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T2.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T3.js17
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.2_T1.js16
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.3_T1.js18
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.4_T1.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.5_T1.js19
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.2.js15
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.3.js12
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A6_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.3_T1.js15
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.1_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.3_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T1.js16
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T2.js16
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.5_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.1_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T3.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.3_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.2.js15
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.3.js12
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A6_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.3_T1.js15
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.1_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.3_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T1.js16
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T2.js16
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.5_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.1_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T2.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T3.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.3_T1.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T2.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T3.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T4.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.1.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.2.js15
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.3.js12
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.4.js14
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.5.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.6.js11
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.7.js13
-rw-r--r--test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A6_T1.js11
160 files changed, 934 insertions, 1233 deletions
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.10_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.10_T1.js
index 98a7aa518..f69e05b8c 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.10_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.10_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 B = 110xxxxx (n = 2) and string.charAt(k + 4) and
- * string.charAt(k + 5) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.10_T1.js
- * @description Complex tests
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and string.charAt(k + 4) and
+ string.charAt(k + 5) do not represent hexadecimal digits, throw URIError
+description: Complex tests
+---*/
//CHECK
var result = true;
@@ -28,4 +27,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 110xxxxx (n = 2) and (string.charAt(k + 4) and string.charAt(k + 5)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T1.js
index cbf112db8..a82b642a5 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T1.js
@@ -1,15 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T1.js
- * @description Complex tests, string.charAt(k + 4) and string.charAt(k + 5)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 4) and string.charAt(k + 5) do
+ not represent hexadecimal digits
+---*/
//CHECK
var result = true;
@@ -30,4 +30,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and string.charAt(k + 5)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T2.js
index 7fe1df5a9..d4a02a443 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T2.js
@@ -1,15 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.11_T2.js
- * @description Complex tests, string.charAt(k + 7) and string.charAt(k + 8)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 7) and string.charAt(k + 8) do
+ not represent hexadecimal digits
+---*/
//CHECK
var result = true;
@@ -30,4 +30,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 1110xxxx (n = 3) and (string.charAt(k + 7) and string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T1.js
index a0ee74e2c..84124888d 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T1.js
@@ -1,16 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) or (string.charAt(k + 10) and
- * string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T1.js
- * @description Complex tests, string.charAt(k + 4) and string.charAt(k + 5)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) or (string.charAt(k + 10) and
+ string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 4) and string.charAt(k + 5) do
+ not represent hexadecimal digits
+---*/
//CHECK
var result = true;
@@ -31,4 +31,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 11110xxx (n = 4) and (string.charAt(k + 4) and string.charAt(k + 5)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T2.js
index d75ba1898..752090dcc 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T2.js
@@ -1,16 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) or (string.charAt(k + 10) and
- * string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T2.js
- * @description Complex tests, string.charAt(k + 7) and string.charAt(k + 7)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) or (string.charAt(k + 10) and
+ string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 7) and string.charAt(k + 7) do
+ not represent hexadecimal digits
+---*/
//CHECK
var result = true;
@@ -31,4 +31,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 11110xxx (n = 4) and (string.charAt(k + 7) and string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T3.js
index 82dbe0b6e..f54c3c0dd 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T3.js
@@ -1,16 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) or (string.charAt(k + 10) and
- * string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.12_T3.js
- * @description Complex tests, string.charAt(k + 10) and string.charAt(k + 11)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) or (string.charAt(k + 10) and
+ string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 10) and string.charAt(k + 11) do
+ not represent hexadecimal digits
+---*/
//CHECK
var result = true;
@@ -31,4 +31,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 11110xxx (n = 4) and (string.charAt(k + 10) and string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T1.js
index ecb081845..b4e5a4619 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_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 B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T1.js
- * @description Complex tests. B = [0xC0 - 0xDF], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xC0 - 0xDF], C = [0x00, 0x7F]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T2.js
index aa8cb610f..bcdae2438 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_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.
-/**
- * If B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.13_T2.js
- * @description Complex tests. B = [0xC0 - 0xDF], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xC0 - 0xDF], C = [0xC0, 0xFF]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T1.js
index 968237727..0512f83bc 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_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 B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T1.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T2.js
index 3539281f3..cd475e6f2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_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.
-/**
- * If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T2.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T3.js
index 34c5f120b..478bd7ccc 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T3.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 B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T3.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T4.js
index ebdf11c26..70d6d5ade 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T4.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 B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.14_T4.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T1.js
index 089fe910a..979434cb9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T1.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T2.js
index 63e2f4eed..6ee669c83 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_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.
-/**
- * If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T2.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T3.js
index 4abf777d9..ca36e1c30 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T3.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T3.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T4.js
index 433d324ef..e101ce517 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T4.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T4.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T5.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T5.js
index 8c78da11d..b05c23deb 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T5.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T5.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T5.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T6.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T6.js
index 26672df4f..973be724a 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T6.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T6.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.15_T6.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.1_T1.js
index e178a708d..38bed2a1c 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.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 string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.1_T1.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError
+description: Complex tests
+---*/
var result = true;
@@ -53,7 +51,3 @@ try {
if (result !== true) {
$ERROR('#1: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError');
}
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T1.js
index 4ede22c6a..70cbca924 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.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 B = string.charAt(k+1) + string.charAt(k+2) do not represent
- * hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T1.js
- * @description Complex tests
- */
+/*---
+info: >
+ If B = string.charAt(k+1) + string.charAt(k+2) do not represent
+ hexadecimal digits, throw URIError
+description: Complex tests
+---*/
//CHECK
var result = true;
@@ -28,4 +27,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If string.charAt(k+1) does not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T2.js
index 44f16f68c..25e768e9d 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.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 B = string.charAt(k+1) + string.charAt(k+2) do not represent
- * hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.2_T2.js
- * @description Complex tests
- */
+/*---
+info: >
+ If B = string.charAt(k+1) + string.charAt(k+2) do not represent
+ hexadecimal digits, throw URIError
+description: Complex tests
+---*/
//CHECK
var result = true;
@@ -28,4 +27,3 @@ for (var indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If string.charAt(k+2) does not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T1.js
index e441d4b93..bacda8916 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.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.
-/**
- * If B = 10xxxxxx or B = 11111xxx, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T1.js
- * @description Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]
- */
+/*---
+info: If B = 10xxxxxx or B = 11111xxx, throw URIError
+description: Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]
+---*/
var errorCount = 0;
var count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T2.js
index 468df214f..d3a05b4ea 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.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.
-/**
- * If B = 10xxxxxx or B = 11111xxx, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.3_T2.js
- * @description Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]
- */
+/*---
+info: If B = 10xxxxxx or B = 11111xxx, throw URIError
+description: Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]
+---*/
var errorCount = 0;
var count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.4_T1.js
index 5a2ca51c2..5fb745e03 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.4_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 B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.4_T1.js
- * @description Complex tests. B = [0xC0 - 0xDF]
- */
+/*---
+info: If B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError
+description: Complex tests. B = [0xC0 - 0xDF]
+---*/
var errorCount = 0;
var count = 0;
@@ -84,4 +82,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.5_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.5_T1.js
index e78388282..86e0771e2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.5_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.5_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 B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.5_T1.js
- * @description Complex tests. B = [0xE0 - 0xEF]
- */
+/*---
+info: If B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError
+description: Complex tests. B = [0xE0 - 0xEF]
+---*/
var errorCount = 0;
var count = 0;
@@ -84,4 +82,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.6_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.6_T1.js
index 44f3ca8a8..b0d67b742 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.6_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.6_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 B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.6_T1.js
- * @description Complex tests. B = [0xF0 - 0xF7]
- */
+/*---
+info: If B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError
+description: Complex tests. B = [0xF0 - 0xF7]
+---*/
var errorCount = 0;
var count = 0;
@@ -84,4 +82,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.7_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.7_T1.js
index 7d97e3992..7e61a04dc 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.7_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.7_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 B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.7_T1.js
- * @description Complex tests. B = [0xC0 - 0xDF]
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal "%", throw
+ URIError
+description: Complex tests. B = [0xC0 - 0xDF]
+---*/
var errorCount = 0;
var count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T1.js
index 87fb7101e..8c80cebc2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T1.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and string.charAt(k + 3),
- * string.charAt(k + 6) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T1.js
- * @description Complex tests. B = [0xE0 - 0xEF],
- * string.charAt(k + 3) not equal "%"
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and string.charAt(k + 3),
+ string.charAt(k + 6) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xE0 - 0xEF], string.charAt(k + 3) not equal
+ "%"
+---*/
var errorCount = 0;
var count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T2.js
index 77f166a99..e645ab739 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T2.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and string.charAt(k + 3),
- * string.charAt(k + 6) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.8_T2.js
- * @description Complex tests. B = [0xE0 - 0xEF],
- * string.charAt(k + 6) not equal "%"
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and string.charAt(k + 3),
+ string.charAt(k + 6) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xE0 - 0xEF], string.charAt(k + 6) not equal
+ "%"
+---*/
var errorCount = 0;
var count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T1.js
index 65935775f..b87a7015e 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T1.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and string.charAt(k + 3),
- * string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T1.js
- * @description Complex tests. B = [0xF0 - 0x0F7],
- * string.charAt(k + 3) not equal "%"
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and string.charAt(k + 3),
+ string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xF0 - 0x0F7], string.charAt(k + 3) not equal
+ "%"
+---*/
var errorCount = 0;
var count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T2.js
index b63a049d6..9b1b83226 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T2.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and string.charAt(k + 3),
- * string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T2.js
- * @description Complex tests. B = [0xF0 - 0x0F7],
- * string.charAt(k + 6) not equal "%"
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and string.charAt(k + 3),
+ string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xF0 - 0x0F7], string.charAt(k + 6) not equal
+ "%"
+---*/
var errorCount = 0;
var count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T3.js
index f353758c6..0fca8fe15 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T3.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and string.charAt(k + 3),
- * string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.9_T3.js
- * @description Complex tests. B = [0xF0 - 0x0F7],
- * string.charAt(k + 9) not equal "%"
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and string.charAt(k + 3),
+ string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xF0 - 0x0F7], string.charAt(k + 9) not equal
+ "%"
+---*/
var errorCount = 0;
var count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.1_T1.js
index 4c853985d..ef1076fc9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.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 string.charAt(k) not equal "%", return this char
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.1_T1.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) not equal "%", return this char
+description: Complex tests
+---*/
//CHECK
var errorCount = 0;
@@ -55,4 +53,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js
index b9a08ea9e..8d108b8ca 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 0xxxxxxxx ([0x00 - 0x7F]), without [uriReserved, #], return B1
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.2_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), without [uriReserved, #], return B1
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
var errorCount = 0;
var count = 0;
@@ -83,4 +82,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.3_T1.js
index 980a06175..070bd524f 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.3_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without B1 = [0xC0, 0xC1], return UTF8(B1, B2)
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.3_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without
+ B1 = [0xC0, 0xC1], return UTF8(B1, B2)
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
var errorCount = 0;
var count = 0;
@@ -20,8 +21,8 @@ for (var indexB1 = 0xC2; indexB1 <= 0xDF; indexB1++) {
var hexB2 = decimalToHexString(indexB2);
var index = (indexB1 & 0x1F) * 0x40 + (indexB2 & 0x3F);
try {
- if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
- } catch (e) {
+ if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
+ } catch (e) {
if (e instanceof Test262Error) throw e;
}
if (indexO === 0) {
@@ -80,4 +81,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.4_T1.js
index d544f41f3..161bf8223 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.4_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 1110xxxx ([0xE0 - 0xEF]), B2, B3 = 10xxxxxxx ([0x80 - 0xBF]), without [B1, B2] = [0xE0, 0x80 - 0x9F], [0xED, 0xA0 - 0xBF] (0xD800 - 0xDFFF), return UTF8(B1, B2, B3)
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.4_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If B1 = 1110xxxx ([0xE0 - 0xEF]), B2, B3 = 10xxxxxxx ([0x80 - 0xBF]),
+ without [B1, B2] = [0xE0, 0x80 - 0x9F], [0xED, 0xA0 - 0xBF] (0xD800 -
+ 0xDFFF), return UTF8(B1, B2, B3)
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
var errorCount = 0;
var count = 0;
@@ -24,8 +26,8 @@ for (var indexB1 = 0xE0; indexB1 <= 0xEF; indexB1++) {
var hexB3 = decimalToHexString(indexB3);
var index = (indexB1 & 0x0F) * 0x1000 + (indexB2 & 0x3F) * 0x40 + (indexB3 & 0x3F);
try {
- if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
- } catch (e) {
+ if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
+ } catch (e) {
if (e instanceof Test262Error) throw e;
}
if (indexO === 0) {
@@ -85,4 +87,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.5_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.5_T1.js
index 0e1017501..75e35cdaf 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.5_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.5_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 11110xxx ([0xF0 - 0x0F4]), B2, B3, B4 = 10xxxxxxx ([0x80 - 0xBF]), without [B1, B2] = [0xF0, 0x80 - 0x9F], [0xF4, 0x90 - 0xBF], return UTF8(B1, B2, B3, B4)
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A2.5_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If B1 = 11110xxx ([0xF0 - 0x0F4]), B2, B3, B4 = 10xxxxxxx ([0x80 -
+ 0xBF]), without [B1, B2] = [0xF0, 0x80 - 0x9F], [0xF4, 0x90 - 0xBF],
+ return UTF8(B1, B2, B3, B4)
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
var errorCount = 0;
var count = 0;
@@ -28,8 +30,8 @@ for (var indexB1 = 0xF0; indexB1 <= 0xF4; indexB1++) {
var L = ((index - 0x10000) & 0x03FF) + 0xDC00;
var H = (((index - 0x10000) >> 10) & 0x03FF) + 0xD800;
try {
- if (decodeURI("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
- } catch (e) {
+ if (decodeURI("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
+ } catch (e) {
if (e instanceof Test262Error) throw e;
}
if (indexO === 0) {
@@ -90,4 +92,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T1.js
index d16f6dc45..4c7327ae6 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_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.
-/**
- * Let reservedURISet be a string containing one instance of each character valid
- * in uriReserved plus "#"
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T1.js
- * @description Checking all character in reservedURISet. HexDigit in [0..9, A..F]
- */
+/*---
+info: >
+ Let reservedURISet be a string containing one instance of each character valid
+ in uriReserved plus "#"
+description: Checking all character in reservedURISet. HexDigit in [0..9, A..F]
+---*/
//CHECK#1
if (decodeURI("%3B") !== "%3B") {
@@ -63,4 +62,3 @@ if (decodeURI("%2C") !== "%2C") {
if (decodeURI("%23") !== "%23") {
$ERROR('#11: decodeURI("%23") equal "%23", not "#"');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T2.js
index d5f67c410..8aaeaf2b0 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_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.
-/**
- * Let reservedURISet be a string containing one instance of each character valid
- * in uriReserved plus "#"
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T2.js
- * @description Checking all character in reservedURISet. HexDigit in [0..9, a..f]
- */
+/*---
+info: >
+ Let reservedURISet be a string containing one instance of each character valid
+ in uriReserved plus "#"
+description: Checking all character in reservedURISet. HexDigit in [0..9, a..f]
+---*/
//CHECK#1
if (decodeURI("%3b") !== "%3b") {
@@ -63,4 +62,3 @@ if (decodeURI("%2c") !== "%2c") {
if (decodeURI("%23") !== "%23") {
$ERROR('#11: decodeURI("%23") equal "%23", not "#"');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T3.js
index 56b135e9c..422074a67 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_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.
-/**
- * Let reservedURISet be a string containing one instance of each character valid
- * in uriReserved plus "#"
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A3_T3.js
- * @description Complex test
- */
+/*---
+info: >
+ Let reservedURISet be a string containing one instance of each character valid
+ in uriReserved plus "#"
+description: Complex test
+---*/
//CHECK#1
if (decodeURI("%3B%2F%3F%3A%40%26%3D%2B%24%2C%23") !== "%3B%2F%3F%3A%40%26%3D%2B%24%2C%23") {
@@ -18,4 +17,3 @@ if (decodeURI("%3B%2F%3F%3A%40%26%3D%2B%24%2C%23") !== "%3B%2F%3F%3A%40%26%3D%2B
if (decodeURI("%3b%2f%3f%3a%40%26%3d%2b%24%2c%23") !== "%3b%2f%3f%3a%40%26%3d%2b%24%2c%23") {
$ERROR('#2: decodeURI("%3b%2f%3f%3a%40%26%3d%2b%24%2c%23") equal "%3b%2f%3f%3a%40%26%3d%2b%24%2c%23", not ";/?:@&=+$,#" or "%3B%2F%3F%3A%40%26%3D%2B%24%2C%23"');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T1.js
index bca314ec1..e22a94395 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T1.js
- * @description Checking ENGLISH ALPHABET
- */
+/*---
+info: URI tests
+description: Checking ENGLISH ALPHABET
+---*/
//CHECK#1
if (decodeURI("http://unipro.ru/0123456789") !== "http://unipro.ru/0123456789") {
@@ -22,4 +20,3 @@ if (decodeURI("%41%42%43%44%45%46%47%48%49%4A%4B%4C%4D%4E%4F%50%51%52%53%54%55%5
if (decodeURI("%61%62%63%64%65%66%67%68%69%6A%6B%6C%6D%6E%6F%70%71%72%73%74%75%76%77%78%79%7A") !== "abcdefghijklmnopqrstuvwxyz") {
$ERROR('#3: abcdefghijklmnopqrstuvwxyz');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T2.js
index 657bffd1e..e6541019b 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T2.js
- * @description Checking RUSSIAN ALPHABET
- */
+/*---
+info: URI tests
+description: Checking RUSSIAN ALPHABET
+---*/
//CHECK#1
if (decodeURI("http://ru.wikipedia.org/wiki/%d0%ae%D0%bd%D0%B8%D0%BA%D0%BE%D0%B4") !== "http://ru.wikipedia.org/wiki/Юникод") {
@@ -22,4 +20,3 @@ if (decodeURI("http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4
if (decodeURI("http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%23%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8%20%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%D0%B0") !== "http://ru.wikipedia.org/wiki/Юникод%23Версии Юникода") {
$ERROR('#3: http://ru.wikipedia.org/wiki/Юникод%23Версии Юникода');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T3.js
index f49675baa..baf93f5cf 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T3.js
- * @description Checking URL with Line Terminator
- */
+/*---
+info: URI tests
+description: Checking URL with Line Terminator
+---*/
//CHECK#1
if (decodeURI("http://unipro.ru/%0Aabout") !== "http://unipro.ru/\nabout") {
@@ -27,4 +25,3 @@ if (decodeURI("http://unipro.ru/%0Cabout") !== "http://unipro.ru/\fabout") {
if (decodeURI("http://unipro.ru/%0Dabout") !== "http://unipro.ru/\rabout") {
$ERROR('#4: http://unipro.ru/%0Dabout');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T4.js
index a518358a2..c4903d5f7 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A4_T4.js
- * @description Test some url
- */
+/*---
+info: URI tests
+description: Test some url
+---*/
//CHECK#1
if (decodeURI("") !== "") {
@@ -27,4 +25,3 @@ if (decodeURI("http://www.google.ru/support/jobs/bin/static.py%3Fpage%3dwhy-ru.h
if (decodeURI("http://en.wikipedia.org/wiki/UTF-8%23Description") !== "http://en.wikipedia.org/wiki/UTF-8%23Description") {
$ERROR('%234: http://en.wikipedia.org/wiki/UTF-8%23Description');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.1.js
index b338d7d7b..64b17ed23 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.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 decodeURI has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of decodeURI has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (decodeURI.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (p in decodeURI){
if (result !== true) {
$ERROR('#2: result = true; for (p in decodeURI) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.2.js
index d8d1a5003..6a5ce7a75 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.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 decodeURI has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.2.js
- * @description Checking use hasOwnProperty, delete
- * @noStrict
- */
+/*---
+info: The length property of decodeURI has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+flags: [noStrict]
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (decodeURI.hasOwnProperty('length') !== true) {
@@ -25,7 +24,3 @@ if (decodeURI.hasOwnProperty('length') !== true) {
if (decodeURI.length === undefined) {
$ERROR('#3: delete decodeURI.length; decodeURI.length !== undefined');
}
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.3.js
index 02b7bf221..eed7c57d8 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.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 decodeURI has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.3.js
- * @description Checking if varying the length property fails
- * @noStrict
- */
+/*---
+info: The length property of decodeURI has the attribute ReadOnly
+description: Checking if varying the length property fails
+flags: [noStrict]
+---*/
//CHECK#1
var x = decodeURI.length;
@@ -15,5 +13,3 @@ decodeURI.length = Infinity;
if (decodeURI.length !== x) {
$ERROR('#1: x = decodeURI.length; decodeURI.length = Infinity; decodeURI.length === x. Actual: ' + (decodeURI.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.4.js
index 4b41d621e..f58e41bac 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.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 decodeURI is 1
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.4.js
- * @description decodeURI.length === 1
- */
+/*---
+info: The length property of decodeURI is 1
+description: decodeURI.length === 1
+---*/
//CHECK#1
if (decodeURI.length !== 1) {
$ERROR('#1: decodeURI.length === 1. Actual: ' + (decodeURI.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.5.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.5.js
index 3a6125937..78e803aa5 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.5.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.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 decodeURI property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The decodeURI property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('decodeURI') !== false) {
@@ -24,4 +22,3 @@ for (p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "decodeURI") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.6.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.6.js
index acab6ebdd..02fb38fac 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.6.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.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 decodeURI property has not prototype property
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.6.js
- * @description Checking decodeURI.prototype
- */
+/*---
+info: The decodeURI property has not prototype property
+description: Checking decodeURI.prototype
+---*/
//CHECK#1
if (decodeURI.prototype !== undefined) {
$ERROR('#1: decodeURI.prototype === undefined. Actual: ' + (decodeURI.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.7.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.7.js
index 59827e332..7f02df82f 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.7.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.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 decodeURI property can't be used as constructor
- *
- * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A5.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The decodeURI 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 decodeURI() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A6_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A6_T1.js
index 8dbb7f65f..778fafeb0 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A6_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A6_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.3/15.1.3.1/S15.1.3.1_A6_T1.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 "%5E"}};
@@ -76,4 +74,3 @@ catch (e) {
$ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; decodeURI(object) throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.10_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.10_T1.js
index 6d280887a..c8fd8fe57 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.10_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.10_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 B = 110xxxxx (n = 2) and string.charAt(k + 4) and
- * string.charAt(k + 5) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.10_T1.js
- * @description Complex tests
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and string.charAt(k + 4) and
+ string.charAt(k + 5) do not represent hexadecimal digits, throw URIError
+description: Complex tests
+---*/
//CHECK
result = true;
@@ -28,4 +27,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 110xxxxx (n = 2) and (string.charAt(k + 4) and string.charAt(k + 5)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T1.js
index 8844b2ac0..59729a7a6 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T1.js
@@ -1,15 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T1.js
- * @description Complex tests, string.charAt(k + 4) and string.charAt(k + 5)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 4) and string.charAt(k + 5) do
+ not represent hexadecimal digits
+---*/
//CHECK
result = true;
@@ -30,4 +30,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and string.charAt(k + 5)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T2.js
index 51dcd4477..3b528b270 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T2.js
@@ -1,15 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.11_T2.js
- * @description Complex tests, string.charAt(k + 7) and string.charAt(k + 8)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 7) and string.charAt(k + 8) do
+ not represent hexadecimal digits
+---*/
//CHECK
result = true;
@@ -30,4 +30,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 1110xxxx (n = 3) and (string.charAt(k + 7) and string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T1.js
index 59fe4f990..43b95cfd9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T1.js
@@ -1,16 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) or (string.charAt(k + 10) and
- * string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T1.js
- * @description Complex tests, string.charAt(k + 4) and string.charAt(k + 5)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) or (string.charAt(k + 10) and
+ string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 4) and string.charAt(k + 5) do
+ not represent hexadecimal digits
+---*/
//CHECK
result = true;
@@ -31,4 +31,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 11110xxx (n = 4) and (string.charAt(k + 4) and string.charAt(k + 5)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T2.js
index 43b55955b..8854cb83d 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T2.js
@@ -1,16 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) or (string.charAt(k + 10) and
- * string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T2.js
- * @description Complex tests, string.charAt(k + 7) and string.charAt(k + 7)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) or (string.charAt(k + 10) and
+ string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 7) and string.charAt(k + 7) do
+ not represent hexadecimal digits
+---*/
//CHECK
result = true;
@@ -31,4 +31,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 11110xxx (n = 4) and (string.charAt(k + 7) and string.charAt(k + 8)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T3.js
index daa1c2266..61f91a2d1 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T3.js
@@ -1,16 +1,16 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
- * string.charAt(k + 5)) or (string.charAt(k + 7) and
- * string.charAt(k + 8)) or (string.charAt(k + 10) and
- * string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.12_T3.js
- * @description Complex tests, string.charAt(k + 10) and string.charAt(k + 11)
- * do not represent hexadecimal digits
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and (string.charAt(k + 4) and
+ string.charAt(k + 5)) or (string.charAt(k + 7) and
+ string.charAt(k + 8)) or (string.charAt(k + 10) and
+ string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError
+description: >
+ Complex tests, string.charAt(k + 10) and string.charAt(k + 11) do
+ not represent hexadecimal digits
+---*/
//CHECK
result = true;
@@ -31,4 +31,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If B = 11110xxx (n = 4) and (string.charAt(k + 10) and string.charAt(k + 11)) do not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T1.js
index b3f0ed088..d2749d7e3 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_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 B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T1.js
- * @description Complex tests. B = [0xC0 - 0xDF], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xC0 - 0xDF], C = [0x00, 0x7F]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T2.js
index 9f3158f67..6711deb8f 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_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.
-/**
- * If B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.13_T2.js
- * @description Complex tests. B = [0xC0 - 0xDF], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xC0 - 0xDF], C = [0xC0, 0xFF]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T1.js
index 72d11dd8a..13b8c1f20 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_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 B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T1.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T2.js
index d0b0d1ead..b79738c59 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_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.
-/**
- * If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T2.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0x00, 0x7F]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T3.js
index 66c09ebe8..1f8dc0010 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T3.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 B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T3.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T4.js
index 06fd0b785..2338a6233 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T4.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 B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.14_T4.js
- * @description Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xE0 - 0xEF], C = [0xC0, 0xFF]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T1.js
index e3b3722cb..1400a9de9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T1.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T2.js
index a40f69892..ad3d79f5a 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_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.
-/**
- * If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T2.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T3.js
index 3c36c07ee..4d76549ec 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T3.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T3.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0x00, 0x7F]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T4.js
index c6943fa06..dff9c4ee6 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T4.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T4.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T5.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T5.js
index 5a1a8a9f1..b18d02847 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T5.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T5.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T5.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T6.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T6.js
index 230bc010b..d89c0b3a6 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T6.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T6.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 B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B), throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.15_T6.js
- * @description Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and C != 10xxxxxx (C - first of octets after B),
+ throw URIError
+description: Complex tests. B = [0xF0 - 0x0F7], C = [0xC0, 0xFF]
+---*/
errorCount = 0;
count = 0;
@@ -83,4 +83,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.1_T1.js
index 1f6eb5851..96fcf8f14 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_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 string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.1_T1.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError
+description: Complex tests
+---*/
result = true;
@@ -53,7 +51,3 @@ try {
if (result !== true) {
$ERROR('#1: If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError');
}
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T1.js
index 4348982ac..0b5a69a5f 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.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 B = string.charAt(k+1) + string.charAt(k+2) do not represent
- * hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T1.js
- * @description Complex tests
- */
+/*---
+info: >
+ If B = string.charAt(k+1) + string.charAt(k+2) do not represent
+ hexadecimal digits, throw URIError
+description: Complex tests
+---*/
//CHECK
result = true;
@@ -28,4 +27,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If string.charAt(k+1) does not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T2.js
index d71d3eff6..7335d77c3 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.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 B = string.charAt(k+1) + string.charAt(k+2) do not represent
- * hexadecimal digits, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.2_T2.js
- * @description Complex tests
- */
+/*---
+info: >
+ If B = string.charAt(k+1) + string.charAt(k+2) do not represent
+ hexadecimal digits, throw URIError
+description: Complex tests
+---*/
//CHECK
result = true;
@@ -28,4 +27,3 @@ for (indexI = 0; indexI < interval.length; indexI++) {
if (result !== true) {
$ERROR('#1: If string.charAt(k+2) does not represent hexadecimal digits, throw URIError');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T1.js
index a6c192e67..25edc1daa 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.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.
-/**
- * If B = 10xxxxxx or B = 11111xxx, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T1.js
- * @description Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]
- */
+/*---
+info: If B = 10xxxxxx or B = 11111xxx, throw URIError
+description: Complex tests. B = 10xxxxxx -> B in [0x80 - 0xBF]
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T2.js
index d76ba4ff9..f96dcba05 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.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.
-/**
- * If B = 10xxxxxx or B = 11111xxx, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.3_T2.js
- * @description Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]
- */
+/*---
+info: If B = 10xxxxxx or B = 11111xxx, throw URIError
+description: Complex tests. B = 11111xxx -> B in [0xF8 - 0xFF]
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.4_T1.js
index 43807fb32..5199b6c61 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.4_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 B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.4_T1.js
- * @description Complex tests. B = [0xC0 - 0xDF]
- */
+/*---
+info: If B = 110xxxxx (n = 2) and (k + 2) + 3 >= length, throw URIError
+description: Complex tests. B = [0xC0 - 0xDF]
+---*/
errorCount = 0;
count = 0;
@@ -84,4 +82,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.5_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.5_T1.js
index eb9e66c9f..83bcdf858 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.5_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.5_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 B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.5_T1.js
- * @description Complex tests. B = [0xE0 - 0xEF]
- */
+/*---
+info: If B = 1110xxxx (n = 3) and (k + 2) + 6 >= length, throw URIError
+description: Complex tests. B = [0xE0 - 0xEF]
+---*/
errorCount = 0;
count = 0;
@@ -84,4 +82,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.6_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.6_T1.js
index 4fa82f01d..1a39da4d4 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.6_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.6_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 B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.6_T1.js
- * @description Complex tests. B = [0xF0 - 0xF7]
- */
+/*---
+info: If B = 11110xxx (n = 4) and (k + 2) + 9 >= length, throw URIError
+description: Complex tests. B = [0xF0 - 0xF7]
+---*/
errorCount = 0;
count = 0;
@@ -84,4 +82,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.7_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.7_T1.js
index 6bdc6474d..8ccd10dcf 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.7_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.7_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 B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.7_T1.js
- * @description Complex tests. B = [0xC0 - 0xDF]
- */
+/*---
+info: >
+ If B = 110xxxxx (n = 2) and string.charAt(k + 3) not equal "%", throw
+ URIError
+description: Complex tests. B = [0xC0 - 0xDF]
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T1.js
index 894e2c203..4a3ba5e23 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T1.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and string.charAt(k + 3),
- * string.charAt(k + 6) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T1.js
- * @description Complex tests. B = [0xE0 - 0xEF],
- * string.charAt(k + 3) not equal "%"
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and string.charAt(k + 3),
+ string.charAt(k + 6) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xE0 - 0xEF], string.charAt(k + 3) not equal
+ "%"
+---*/
errorCount = 0;
count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T2.js
index 25c00f8bf..c9c551b7e 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T2.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 1110xxxx (n = 3) and string.charAt(k + 3),
- * string.charAt(k + 6) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.8_T2.js
- * @description Complex tests. B = [0xE0 - 0xEF],
- * string.charAt(k + 6) not equal "%"
- */
+/*---
+info: >
+ If B = 1110xxxx (n = 3) and string.charAt(k + 3),
+ string.charAt(k + 6) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xE0 - 0xEF], string.charAt(k + 6) not equal
+ "%"
+---*/
errorCount = 0;
count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T1.js
index 6ca5accff..bcf6df647 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T1.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and string.charAt(k + 3),
- * string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T1.js
- * @description Complex tests. B = [0xF0 - 0x0F7],
- * string.charAt(k + 3) not equal "%"
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and string.charAt(k + 3),
+ string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xF0 - 0x0F7], string.charAt(k + 3) not equal
+ "%"
+---*/
errorCount = 0;
count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T2.js
index 8e81de3e5..4bf695b2e 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T2.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and string.charAt(k + 3),
- * string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T2.js
- * @description Complex tests. B = [0xF0 - 0x0F7],
- * string.charAt(k + 6) not equal "%"
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and string.charAt(k + 3),
+ string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xF0 - 0x0F7], string.charAt(k + 6) not equal
+ "%"
+---*/
errorCount = 0;
count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T3.js
index 7904af5b1..32665cbfc 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T3.js
@@ -1,14 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B = 11110xxx (n = 4) and string.charAt(k + 3),
- * string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A1.9_T3.js
- * @description Complex tests. B = [0xF0 - 0x0F7],
- * string.charAt(k + 9) not equal "%"
- */
+/*---
+info: >
+ If B = 11110xxx (n = 4) and string.charAt(k + 3),
+ string.charAt(k + 6), string.charAt(k + 9) not equal "%", throw URIError
+description: >
+ Complex tests. B = [0xF0 - 0x0F7], string.charAt(k + 9) not equal
+ "%"
+---*/
errorCount = 0;
count = 0;
@@ -78,4 +78,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.1_T1.js
index e2b5f31f8..7e8783e30 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.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 string.charAt(k) not equal "%", return this char
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.1_T1.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) not equal "%", return this char
+description: Complex tests
+---*/
//CHECK
errorCount = 0;
@@ -55,4 +53,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.2_T1.js
index 8e7293f0b..42a5e83f4 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.2_T1.js
@@ -1,12 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 0xxxxxxxx ([0x00 - 0x7F]), return B1
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.2_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: If B1 = 0xxxxxxxx ([0x00 - 0x7F]), return B1
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
errorCount = 0;
count = 0;
@@ -18,8 +17,8 @@ for (indexB1 = 0x00; indexB1 <= 0x7F; indexB1++) {
var index = indexB1;
try {
hex = String.fromCharCode(index);
- if (decodeURIComponent("%" + hexB1.substring(2)) === hex) continue;
- } catch (e) {
+ if (decodeURIComponent("%" + hexB1.substring(2)) === hex) continue;
+ } catch (e) {
if (e instanceof Test262Error) throw e;
}
if (indexO === 0) {
@@ -77,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.3_T1.js
index b42a9eab6..4e4bfbca9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.3_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without B1 = [0xC0, 0xC1], return UTF8(B1, B2)
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.3_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If B1 = 110xxxxx ([0xC0 - 0xDF]), B2 = 10xxxxxx ([0x80 - 0xBF), without
+ B1 = [0xC0, 0xC1], return UTF8(B1, B2)
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
errorCount = 0;
count = 0;
@@ -20,8 +21,8 @@ for (indexB1 = 0xC2; indexB1 <= 0xDF; indexB1++) {
var hexB2 = decimalToHexString(indexB2);
var index = (indexB1 & 0x1F) * 0x40 + (indexB2 & 0x3F);
try {
- if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
- } catch (e) {
+ if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
+ } catch (e) {
if (e instanceof Test262Error) throw e;
}
if (indexO === 0) {
@@ -80,4 +81,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.4_T1.js
index 6ca3dcf74..cee32c15d 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.4_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 1110xxxx ([0xE0 - 0xEF]), B2, B3 = 10xxxxxxx ([0x80 - 0xBF]), without [B1, B2] = [0xE0, 0x80 - 0x9F], [0xED, 0xA0 - 0xBF] (0xD800 - 0xDFFF), return UTF8(B1, B2, B3)
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.4_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If B1 = 1110xxxx ([0xE0 - 0xEF]), B2, B3 = 10xxxxxxx ([0x80 - 0xBF]),
+ without [B1, B2] = [0xE0, 0x80 - 0x9F], [0xED, 0xA0 - 0xBF] (0xD800 -
+ 0xDFFF), return UTF8(B1, B2, B3)
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
errorCount = 0;
count = 0;
@@ -24,8 +26,8 @@ for (indexB1 = 0xE0; indexB1 <= 0xEF; indexB1++) {
var hexB3 = decimalToHexString(indexB3);
var index = (indexB1 & 0x0F) * 0x1000 + (indexB2 & 0x3F) * 0x40 + (indexB3 & 0x3F);
try {
- if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
- } catch (e) {
+ if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
+ } catch (e) {
if (e instanceof Test262Error) throw e;
}
if (indexO === 0) {
@@ -85,4 +87,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.5_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.5_T1.js
index 49f4a6c81..d50d6bf3b 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.5_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.5_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If B1 = 11110xxx ([0xF0 - 0x0F4]), B2, B3, B4 = 10xxxxxxx ([0x80 - 0xBF]), without [B1, B2] = [0xF0, 0x80 - 0x9F], [0xF4, 0x90 - 0xBF], return UTF8(B1, B2, B3, B4)
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A2.5_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If B1 = 11110xxx ([0xF0 - 0x0F4]), B2, B3, B4 = 10xxxxxxx ([0x80 -
+ 0xBF]), without [B1, B2] = [0xF0, 0x80 - 0x9F], [0xF4, 0x90 - 0xBF],
+ return UTF8(B1, B2, B3, B4)
+description: Complex tests, use RFC 3629
+includes: [Test262Error.js]
+---*/
errorCount = 0;
count = 0;
@@ -28,8 +30,8 @@ for (indexB1 = 0xF0; indexB1 <= 0xF4; indexB1++) {
var L = ((index - 0x10000) & 0x03FF) + 0xDC00;
var H = (((index - 0x10000) >> 10) & 0x03FF) + 0xD800;
try {
- if (decodeURIComponent("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
- } catch (e) {
+ if (decodeURIComponent("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
+ } catch (e) {
if (e instanceof Test262Error) throw e;
}
if (indexO === 0) {
@@ -90,4 +92,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T1.js
index d0650ae6f..3e07d7e4e 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Let reservedURIComponentSet be the empty string
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T1.js
- * @description uriReserved and "#" not in reservedURIComponentSet. HexDigit in [0..9, A..F]
- */
+/*---
+info: Let reservedURIComponentSet be the empty string
+description: >
+ uriReserved and "#" not in reservedURIComponentSet. HexDigit in
+ [0..9, A..F]
+---*/
//CHECK#1
if (decodeURIComponent("%3B") !== ";") {
@@ -62,4 +62,3 @@ if (decodeURIComponent("%2C") !== ",") {
if (decodeURIComponent("%23") !== "#") {
$ERROR('#11: decodeURIComponent("%23") equal "#", not "%23"');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T2.js
index 7afc7ffef..fa77c1b85 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_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.
-/**
- * Let reservedURIComponentSet be the empty string
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T2.js
- * @description uriReserved and "#" not in reservedURIComponentSet. HexDigit in [0..9, a..f]
- */
+/*---
+info: Let reservedURIComponentSet be the empty string
+description: >
+ uriReserved and "#" not in reservedURIComponentSet. HexDigit in
+ [0..9, a..f]
+---*/
//CHECK#1
if (decodeURIComponent("%3b") !== ";") {
@@ -62,4 +62,3 @@ if (decodeURIComponent("%2c") !== ",") {
if (decodeURIComponent("%23") !== "#") {
$ERROR('#11: decodeURIComponent("%23") equal "#", not "%23"');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T3.js
index ec0017497..094c21549 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_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.
-/**
- * Let reservedURIComponentSet be the empty string
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A3_T3.js
- * @description Complex test
- */
+/*---
+info: Let reservedURIComponentSet be the empty string
+description: Complex test
+---*/
//CHECK#1
if (decodeURIComponent("%3B%2F%3F%3A%40%26%3D%2B%24%2C%23") !== ";/?:@&=+$,#") {
@@ -17,4 +15,3 @@ if (decodeURIComponent("%3B%2F%3F%3A%40%26%3D%2B%24%2C%23") !== ";/?:@&=+$,#") {
if (decodeURIComponent("%3b%2f%3f%3a%40%26%3d%2b%24%2c%23") !== ";/?:@&=+$,#") {
$ERROR('#2: decodeURIComponent("%3b%2f%3f%3a%40%26%3d%2b%24%2c%23") equal ";/?:@&=+$,#" or "%3B%2F%3F%3A%40%26%3D%2B%24%2C%23", not "%3b%2f%3f%3a%40%26%3d%2b%24%2c%23"');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T1.js
index 5ac99a218..5ad2d8d9f 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T1.js
- * @description Checking ENGLISH ALPHABET
- */
+/*---
+info: URI tests
+description: Checking ENGLISH ALPHABET
+---*/
//CHECK#1
if (decodeURIComponent("http://unipro.ru/0123456789") !== "http://unipro.ru/0123456789") {
@@ -22,4 +20,3 @@ if (decodeURIComponent("%41%42%43%44%45%46%47%48%49%4A%4B%4C%4D%4E%4F%50%51%52%5
if (decodeURIComponent("%61%62%63%64%65%66%67%68%69%6A%6B%6C%6D%6E%6F%70%71%72%73%74%75%76%77%78%79%7A") !== "abcdefghijklmnopqrstuvwxyz") {
$ERROR('#3: abcdefghijklmnopqrstuvwxyz');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T2.js
index 369ad2beb..b041e38cc 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T2.js
- * @description Checking RUSSIAN ALPHABET
- */
+/*---
+info: URI tests
+description: Checking RUSSIAN ALPHABET
+---*/
//CHECK#1
if (decodeURIComponent("http://ru.wikipedia.org/wiki/%d0%ae%D0%bd%D0%B8%D0%BA%D0%BE%D0%B4") !== "http://ru.wikipedia.org/wiki/Юникод") {
@@ -22,4 +20,3 @@ if (decodeURIComponent("http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0
if (decodeURIComponent("http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%23%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8%20%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%D0%B0") !== "http://ru.wikipedia.org/wiki/Юникод#Версии Юникода") {
$ERROR('#3: http://ru.wikipedia.org/wiki/Юникод%23Версии Юникода');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T3.js
index 70498e119..668f22a8c 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T3.js
- * @description Checking URL with Line Terminator
- */
+/*---
+info: URI tests
+description: Checking URL with Line Terminator
+---*/
//CHECK#1
if (decodeURIComponent("http://unipro.ru/%0Aabout") !== "http://unipro.ru/\nabout") {
@@ -27,4 +25,3 @@ if (decodeURIComponent("http://unipro.ru/%0Cabout") !== "http://unipro.ru/\fabou
if (decodeURIComponent("http://unipro.ru/%0Dabout") !== "http://unipro.ru/\rabout") {
$ERROR('#4: http://unipro.ru/%0Dabout');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T4.js
index 913036529..27ce4f89f 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T4.js
- * @description Test some url
- */
+/*---
+info: URI tests
+description: Test some url
+---*/
//CHECK#1
if (decodeURIComponent("") !== "") {
@@ -27,4 +25,3 @@ if (decodeURIComponent("http:%2f%2Fwww.google.ru/support/jobs/bin/static.py%3Fpa
if (decodeURIComponent("http:%2F%2Fen.wikipedia.org/wiki/UTF-8%23Description") !== "http://en.wikipedia.org/wiki/UTF-8#Description") {
$ERROR('#4: http:%2F%2Fen.wikipedia.org/wiki/UTF-8%23Description');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.1.js
index d69893777..ea089aaab 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.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 decodeURIComponent has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of decodeURIComponent has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (decodeURIComponent.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (p in decodeURIComponent){
if (result !== true) {
$ERROR('#2: result = true; for (p in decodeURIComponent) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.2.js
index 4f38892d1..8a24582db 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.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 decodeURIComponent has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.2.js
- * @description Checking use hasOwnProperty, delete
- */
+/*---
+info: The length property of decodeURIComponent has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (decodeURIComponent.hasOwnProperty('length') !== true) {
@@ -24,7 +23,3 @@ if (decodeURIComponent.hasOwnProperty('length') !== true) {
if (decodeURIComponent.length === undefined) {
$ERROR('#3: delete decodeURIComponent.length; decodeURIComponent.length !== undefined');
}
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.3.js
index 67b689a96..3410037a7 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.3.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 decodeURIComponent has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.3.js
- * @description Checking if varying the length property fails
- */
+/*---
+info: The length property of decodeURIComponent has the attribute ReadOnly
+description: Checking if varying the length property fails
+---*/
//CHECK#1
x = decodeURIComponent.length;
@@ -14,5 +12,3 @@ decodeURIComponent.length = Infinity;
if (decodeURIComponent.length !== x) {
$ERROR('#1: x = decodeURIComponent.length; decodeURIComponent.length = Infinity; decodeURIComponent.length === x. Actual: ' + (decodeURIComponent.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.4.js
index 8cb62227c..1a9dc80f9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.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 decodeURIComponent is 1
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.4.js
- * @description decodeURIComponent.length === 1
- */
+/*---
+info: The length property of decodeURIComponent is 1
+description: decodeURIComponent.length === 1
+---*/
//CHECK#1
if (decodeURIComponent.length !== 1) {
$ERROR('#1: decodeURIComponent.length === 1. Actual: ' + (decodeURIComponent.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.5.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.5.js
index f8ae598e8..7c90e355a 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.5.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.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 decodeURIComponent property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The decodeURIComponent property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('decodeURIComponent') !== false) {
@@ -24,4 +22,3 @@ for (p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "decodeURIComponent") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.6.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.6.js
index f5c9a3697..672747786 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.6.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.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 decodeURIComponent property has not prototype property
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.6.js
- * @description Checking decodeURIComponent.prototype
- */
+/*---
+info: The decodeURIComponent property has not prototype property
+description: Checking decodeURIComponent.prototype
+---*/
//CHECK#1
if (decodeURIComponent.prototype !== undefined) {
$ERROR('#1: decodeURIComponent.prototype === undefined. Actual: ' + (decodeURIComponent.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.7.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.7.js
index 6078f8a50..056054c95 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.7.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.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 decodeURIComponent property can't be used as constructor
- *
- * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A5.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The decodeURIComponent 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 decodeURIComponent() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A6_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A6_T1.js
index 0919bc526..148eb8ee2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A6_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A6_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.3/15.1.3.2/S15.1.3.2_A6_T1.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 "%5E"}};
@@ -76,4 +74,3 @@ catch (e) {
$ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; decodeURIComponent(object) throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T1.js
index af8b2324b..7ad860e97 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_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 string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T1.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T2.js
index 44409b215..77c384bc7 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_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 string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.1_T2.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T1.js
index 3bede687f..62badd825 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_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 string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T1.js
- * @description Complex tests
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw
+ URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T2.js
index 3fd55dd3e..d9b595b03 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_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.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.2_T2.js
- * @description Complex tests
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw
+ URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.3_T1.js
index bddb360d3..42f21001c 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.3_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) not in [0xDC00 - 0xDFFF], throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A1.3_T1.js
- * @description Complex tests, string.charAt(k+1) in [0x0000, 0xD7FF, 0xD800, 0xDBFE, 0xDBFF, 0xE000, 0xFFFF]
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) not in
+ [0xDC00 - 0xDFFF], throw URIError
+description: >
+ Complex tests, string.charAt(k+1) in [0x0000, 0xD7FF, 0xD800,
+ 0xDBFE, 0xDBFF, 0xE000, 0xFFFF]
+---*/
chars = [0x0000, 0xD7FF, 0xD800, 0xDBFE, 0xDBFF, 0xE000, 0xFFFF];
errorCount = 0;
@@ -83,4 +85,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.1_T1.js
index 756d1be4d..c27a1c97e 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.1_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 string.charAt(k) in [0x0000 - 0x007F]\[uriReserved, uriUnescaped, #], return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.1_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0x0000 - 0x007F]\[uriReserved, uriUnescaped, #],
+ return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz)
+description: Complex tests, use RFC 3629
+---*/
uriReserved = [";", "/", "?", ":", "@", "&", "=", "+", "$", ","];
uriUnescaped = ["-", "_", ".", "!", "~", "*", "'", "(", ")", "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", "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", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
@@ -84,4 +84,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.2_T1.js
index e303747f9..9ff89802a 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.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 string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy yyzzzzzz -> 110yyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.2_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy
+ yyzzzzzz -> 110yyyyy 10zzzzzz)
+description: Complex tests, use RFC 3629
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.3_T1.js
index a09d04518..43a7f07d6 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.3_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 string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.3_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy
+ yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
+description: Complex tests, use RFC 3629
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T1.js
index caf571502..9b0fdcd63 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T1.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz -> 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T1.js
- * @description Complex tests, use RFC 3629, string.charAt(k+1) in [0xDC00, 0xDDFF, 0xDFFF]
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in
+ [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz ->
+ 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
+description: >
+ Complex tests, use RFC 3629, string.charAt(k+1) in [0xDC00,
+ 0xDDFF, 0xDFFF]
+---*/
chars = [0xDC00, 0xDDFF, 0xDFFF];
errorCount = 0;
@@ -86,4 +89,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T2.js
index b5203cfbd..976c48257 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T2.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz -> 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.4_T2.js
- * @description Complex tests, use RFC 3629, string.charAt(k) in [0xD800, 0xDBFF, 0xD9FF]
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in
+ [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz ->
+ 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
+description: >
+ Complex tests, use RFC 3629, string.charAt(k) in [0xD800, 0xDBFF,
+ 0xD9FF]
+---*/
chars = [0xD800, 0xDBFF, 0xD9FF];
errorCount = 0;
@@ -86,4 +89,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.5_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.5_T1.js
index 1fa4ebe3c..889ec4027 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.5_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.5_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 string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A2.5_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy
+ yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
+description: Complex tests, use RFC 3629
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.1_T1.js
index 9ad30c050..98a5c2d63 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.1_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.
-/**
- * unescapedURISet containing one instance of each character valid in uriReserved
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.1_T1.js
- * @description Complex tests
- */
+/*---
+info: >
+ unescapedURISet containing one instance of each character valid in
+ uriReserved
+description: Complex tests
+---*/
uriReserved = [";", "/", "?", ":", "@", "&", "=", "+", "$", ","];
for (indexC = 0; indexC < uriReserved.length; indexC++) {
@@ -15,4 +15,3 @@ for (indexC = 0; indexC < uriReserved.length; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T1.js
index 10c22e012..dd795449c 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.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.
-/**
- * unescapedURISet containing one instance of each character valid in uriUnescaped
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T1.js
- * @description Complex tests, uriUnescaped :: uriAlpha
- */
+/*---
+info: >
+ unescapedURISet containing one instance of each character valid in
+ uriUnescaped
+description: "Complex tests, uriUnescaped :: uriAlpha"
+---*/
uriAlpha = ["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", "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"];
for (indexC = 0; indexC < uriAlpha.length; indexC++) {
@@ -15,4 +15,3 @@ for (indexC = 0; indexC < uriAlpha.length; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURISet containing ' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T2.js
index a89aed7fb..3f30e1f77 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_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.
-/**
- * unescapedURISet containing one instance of each character valid in uriUnescaped
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T2.js
- * @description Complex tests, uriUnescaped :: DecimalDigit
- */
+/*---
+info: >
+ unescapedURISet containing one instance of each character valid in
+ uriUnescaped
+description: "Complex tests, uriUnescaped :: DecimalDigit"
+---*/
DecimalDigit = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
for (indexC = 0; indexC < DecimalDigit.length; indexC++) {
@@ -15,4 +15,3 @@ for (indexC = 0; indexC < DecimalDigit.length; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T3.js
index a7c370ac1..fc4120c00 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T3.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.
-/**
- * unescapedURISet containing one instance of each character valid in uriUnescaped
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.2_T3.js
- * @description Complex tests, uriUnescaped :: uriMark
- */
+/*---
+info: >
+ unescapedURISet containing one instance of each character valid in
+ uriUnescaped
+description: "Complex tests, uriUnescaped :: uriMark"
+---*/
uriMark = ["-", "_", ".", "!", "~", "*", "'", "(", ")"];
for (indexC = 0; indexC < uriMark.length; indexC++) {
@@ -15,4 +15,3 @@ for (indexC = 0; indexC < uriMark.length; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.3_T1.js
index 37cda639f..98226c4df 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.3_T1.js
@@ -1,14 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * unescapedURISet containing "#"
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A3.3_T1.js
- * @description encodeURI("#") === "#"
- */
+/*---
+info: unescapedURISet containing "#"
+description: encodeURI("#") === "#"
+---*/
if (encodeURI("#") !== "#") {
$ERROR('#1: unescapedURISet containing "#"');
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T1.js
index c14c2a303..0193869be 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T1.js
- * @description Checking ENGLISH ALPHABET
- */
+/*---
+info: URI tests
+description: Checking ENGLISH ALPHABET
+---*/
//CHECK#1
if (encodeURI("http://unipro.ru/0123456789") !== "http://unipro.ru/0123456789") {
@@ -22,4 +20,3 @@ if (encodeURI("aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ") !== "aAbBc
if (encodeURI("aA_bB-cC.dD!eE~fF*gG'hH(iI)jJ;kK/lL?mM:nN@oO&pP=qQ+rR$sS,tT9uU8vV7wW6xX5yY4zZ") !== "aA_bB-cC.dD!eE~fF*gG'hH(iI)jJ;kK/lL?mM:nN@oO&pP=qQ+rR$sS,tT9uU8vV7wW6xX5yY4zZ") {
$ERROR('#3: ');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T2.js
index ef5696f25..26f47edb8 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T2.js
- * @description Checking RUSSIAN ALPHABET
- */
+/*---
+info: URI tests
+description: Checking RUSSIAN ALPHABET
+---*/
//CHECK#1
if ((encodeURI("http://ru.wikipedia.org/wiki/Юникод") !== "http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4") && (encodeURI("http://ru.wikipedia.org/wiki/Юникод") !== "http://ru.wikipedia.org/wiki/" + "%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4".toLowerCase())) {
@@ -22,4 +20,3 @@ if ((encodeURI("http://ru.wikipedia.org/wiki/Юникод#Ссылки") !== "ht
if ((encodeURI("http://ru.wikipedia.org/wiki/Юникод#Версии Юникода") !== "http://ru.wikipedia.org/wiki/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4#%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8%20%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%D0%B0") && ((encodeURI("http://ru.wikipedia.org/wiki/Юникод#Версии Юникода") !== "http://ru.wikipedia.org/wiki/" + "%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4#%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8%20%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%D0%B0".toLowerCase()))) {
$ERROR('#3: http://ru.wikipedia.org/wiki/Юникод#Версии Юникода');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T3.js
index 606df82f2..a1aadfc8c 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T3.js
- * @description Checking URL with Line Terminator
- */
+/*---
+info: URI tests
+description: Checking URL with Line Terminator
+---*/
//CHECK#1
if ((encodeURI("http://unipro.ru/\nabout") !== "http://unipro.ru/%0Aabout") && encodeURI("http://unipro.ru/\nabout") !== "http://unipro.ru/%0aabout") {
@@ -27,4 +25,3 @@ if ((encodeURI("http://unipro.ru/\fabout") !== "http://unipro.ru/%0Cabout") && e
if ((encodeURI("http://unipro.ru/\rabout") !== "http://unipro.ru/%0Dabout") && encodeURI("http://unipro.ru/\rabout") !== "http://unipro.ru/%0dabout") {
$ERROR('#4: http://unipro.ru/\\rabout');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T4.js
index bafaa396b..3ba7a48d1 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A4_T4.js
- * @description Test some url
- */
+/*---
+info: URI tests
+description: Test some url
+---*/
//CHECK#1
if (encodeURI("") !== "") {
@@ -27,4 +25,3 @@ if (encodeURI("http://www.google.ru/support/jobs/bin/static.py?page=why-ru.html&
if (encodeURI("http://en.wikipedia.org/wiki/UTF-8#Description") !== "http://en.wikipedia.org/wiki/UTF-8#Description") {
$ERROR('#4: http://en.wikipedia.org/wiki/UTF-8#Description');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.1.js
index f089aac01..6132a02fb 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.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 encodeURI has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of encodeURI has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (encodeURI.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (p in encodeURI){
if (result !== true) {
$ERROR('#2: result = true; for (p in encodeURI) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.2.js
index ffbe0f37f..cfe065292 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.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 encodeURI has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.2.js
- * @description Checking use hasOwnProperty, delete
- */
+/*---
+info: The length property of encodeURI has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (encodeURI.hasOwnProperty('length') !== true) {
@@ -24,7 +23,3 @@ if (encodeURI.hasOwnProperty('length') !== true) {
if (encodeURI.length === undefined) {
$ERROR('#3: delete encodeURI.length; encodeURI.length !== undefined');
}
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.3.js
index 4aa01aaa4..913fc97d2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.3.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 encodeURI has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.3.js
- * @description Checking if varying the length property fails
- */
+/*---
+info: The length property of encodeURI has the attribute ReadOnly
+description: Checking if varying the length property fails
+---*/
//CHECK#1
x = encodeURI.length;
@@ -14,5 +12,3 @@ encodeURI.length = Infinity;
if (encodeURI.length !== x) {
$ERROR('#1: x = encodeURI.length; encodeURI.length = Infinity; encodeURI.length === x. Actual: ' + (encodeURI.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.4.js
index 3a016ebf2..0588edcb3 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.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 encodeURI is 1
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.4.js
- * @description encodeURI.length === 1
- */
+/*---
+info: The length property of encodeURI is 1
+description: encodeURI.length === 1
+---*/
//CHECK#1
if (encodeURI.length !== 1) {
$ERROR('#1: encodeURI.length === 1. Actual: ' + (encodeURI.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.5.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.5.js
index 0bc0cf4d5..c1e0c4146 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.5.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.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 encodeURI property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The encodeURI property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('encodeURI') !== false) {
@@ -24,4 +22,3 @@ for (p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "encodeURI") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.6.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.6.js
index a7f5f2800..56fb56ffc 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.6.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.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 encodeURI property has not prototype property
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.6.js
- * @description Checking encodeURI.prototype
- */
+/*---
+info: The encodeURI property has not prototype property
+description: Checking encodeURI.prototype
+---*/
//CHECK#1
if (encodeURI.prototype !== undefined) {
$ERROR('#1: encodeURI.prototype === undefined. Actual: ' + (encodeURI.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.7.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.7.js
index 3509f476f..da13c5a10 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.7.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.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 encodeURI property can't be used as constructor
- *
- * @path ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A5.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The encodeURI 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 encodeURI() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A6_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A6_T1.js
index 1293d4df4..89d072af2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A6_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.3/S15.1.3.3_A6_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.3/15.1.3.3/S15.1.3.3_A6_T1.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 "^"}};
@@ -76,4 +74,3 @@ catch (e) {
$ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; encodeURI(object) throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T1.js
index 796172808..2cde4eca9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_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 string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T1.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T2.js
index e2e3deed9..4c35b9fd2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_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 string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.1_T2.js
- * @description Complex tests
- */
+/*---
+info: If string.charAt(k) in [0xDC00 - 0xDFFF], throw URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +74,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T1.js
index 91271fa2c..8c93b2136 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_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 string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T1.js
- * @description Complex tests
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw
+ URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T2.js
index 5f363bcca..e9f983332 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_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.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.2_T2.js
- * @description Complex tests
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.length = k + 1, throw
+ URIError
+description: Complex tests
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.3_T1.js
index 0a929379d..3ae0347e4 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.3_T1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) not in [0xDC00 - 0xDFFF], throw URIError
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A1.3_T1.js
- * @description Complex tests, string.charAt(k+1) in [0x0000, 0xD7FF, 0xD800, 0xDBFE, 0xDBFF, 0xE000, 0xFFFF]
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) not in
+ [0xDC00 - 0xDFFF], throw URIError
+description: >
+ Complex tests, string.charAt(k+1) in [0x0000, 0xD7FF, 0xD800,
+ 0xDBFE, 0xDBFF, 0xE000, 0xFFFF]
+---*/
chars = [0x0000, 0xD7FF, 0xD800, 0xDBFE, 0xDBFF, 0xE000, 0xFFFF];
errorCount = 0;
@@ -83,4 +85,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.1_T1.js
index 1920dd5f9..1ae173692 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.1_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 string.charAt(k) in [0x0000 - 0x007F]\[uriUnescaped], return 1 octet (00000000 0zzzzzzz -> 0zzzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.1_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0x0000 - 0x007F]\[uriUnescaped], return 1 octet
+ (00000000 0zzzzzzz -> 0zzzzzzz)
+description: Complex tests, use RFC 3629
+---*/
uriUnescaped = ["-", "_", ".", "!", "~", "*", "'", "(", ")", "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", "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", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
errorCount = 0;
@@ -79,4 +79,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.2_T1.js
index ea19909ea..850184713 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.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 string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy yyzzzzzz -> 110yyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.2_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0x0080 - 0x07FF], return 2 octets (00000yyy
+ yyzzzzzz -> 110yyyyy 10zzzzzz)
+description: Complex tests, use RFC 3629
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.3_T1.js
index b8fa4b3ea..fc42931e7 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.3_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 string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.3_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0x0800 - 0xD7FF], return 3 octets (xxxxyyyy
+ yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
+description: Complex tests, use RFC 3629
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T1.js
index 418d227a3..b07cf1c45 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T1.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz -> 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T1.js
- * @description Complex tests, use RFC 3629, string.charAt(k+1) in [0xDC00, 0xDDFF, 0xDFFF]
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in
+ [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz ->
+ 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
+description: >
+ Complex tests, use RFC 3629, string.charAt(k+1) in [0xDC00,
+ 0xDDFF, 0xDFFF]
+---*/
chars = [0xDC00, 0xDDFF, 0xDFFF];
errorCount = 0;
@@ -86,4 +89,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T2.js
index 672437cec..f1373402d 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T2.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz -> 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.4_T2.js
- * @description Complex tests, use RFC 3629, string.charAt(k) in [0xD800, 0xDBFF, 0xD9FF]
- */
+/*---
+info: >
+ If string.charAt(k) in [0xD800 - 0xDBFF] and string.charAt(k+1) in
+ [0xDC00 � 0xDFFF], return 4 octets (000wwwxx xxxxyyyy yyzzzzzz ->
+ 11110www 10xxxxxx 10yyyyyy 10zzzzzz)
+description: >
+ Complex tests, use RFC 3629, string.charAt(k) in [0xD800, 0xDBFF,
+ 0xD9FF]
+---*/
chars = [0xD800, 0xDBFF, 0xD9FF];
errorCount = 0;
@@ -86,4 +89,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.5_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.5_T1.js
index 7a616a2ea..365dac9bf 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.5_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.5_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 string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A2.5_T1.js
- * @description Complex tests, use RFC 3629
- */
+/*---
+info: >
+ If string.charAt(k) in [0xE000 - 0xFFFF], return 3 octets (xxxxyyyy
+ yyzzzzzz -> 1110xxxx 10yyyyyy 10zzzzzz)
+description: Complex tests, use RFC 3629
+---*/
errorCount = 0;
count = 0;
@@ -76,4 +76,3 @@ function decimalToHexString(n) {
}
return h;
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.1_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.1_T1.js
index c6fbba03a..b12dda028 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.1_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_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.
-/**
- * unescapedURIComponentSet not containing uriReserved
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.1_T1.js
- * @description Complex tests
- */
+/*---
+info: unescapedURIComponentSet not containing uriReserved
+description: Complex tests
+---*/
uriReserved = ["%3B", "%2F", "%3F", "%3A", "%40", "%26", "%3D", "%2B", "%24", "%2C"];
uriReserved_ = [";", "/", "?", ":", "@", "&", "=", "+", "$", ","];
@@ -16,4 +14,3 @@ for (indexC = 0; indexC < 10; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURIComponentSet not containing' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T1.js
index 5b9771bbe..532ba2769 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.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.
-/**
- * unescapedURIComponentSet containing one instance of each character valid in uriUnescaped
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T1.js
- * @description Complex tests, uriUnescaped :: uriAlpha
- */
+/*---
+info: >
+ unescapedURIComponentSet containing one instance of each character valid
+ in uriUnescaped
+description: "Complex tests, uriUnescaped :: uriAlpha"
+---*/
uriAlpha = ["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", "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"];
for (indexC = 0; indexC < uriAlpha.length; indexC++) {
@@ -15,4 +15,3 @@ for (indexC = 0; indexC < uriAlpha.length; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURISet containing ' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T2.js
index 7181c2229..a8cfcba6b 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_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.
-/**
- * unescapedURIComponentSet containing one instance of each character valid in uriUnescaped
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T2.js
- * @description Complex tests, uriUnescaped :: DecimalDigit
- */
+/*---
+info: >
+ unescapedURIComponentSet containing one instance of each character valid
+ in uriUnescaped
+description: "Complex tests, uriUnescaped :: DecimalDigit"
+---*/
DecimalDigit = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
for (indexC = 0; indexC < DecimalDigit.length; indexC++) {
@@ -15,4 +15,3 @@ for (indexC = 0; indexC < DecimalDigit.length; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T3.js
index 627812016..230a5cbf4 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T3.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.
-/**
- * unescapedURIComponentSet containing one instance of each character valid in uriUnescaped
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.2_T3.js
- * @description Complex tests, uriUnescaped :: uriMark
- */
+/*---
+info: >
+ unescapedURIComponentSet containing one instance of each character valid
+ in uriUnescaped
+description: "Complex tests, uriUnescaped :: uriMark"
+---*/
uriMark = ["-", "_", ".", "!", "~", "*", "'", "(", ")"];
for (indexC = 0; indexC < uriMark.length; indexC++) {
@@ -15,4 +15,3 @@ for (indexC = 0; indexC < uriMark.length; indexC++) {
$ERROR('#' + (indexC + 1) + ': unescapedURISet containing' + str);
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.3_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.3_T1.js
index 77511d262..2070f629f 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.3_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.3_T1.js
@@ -1,14 +1,11 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * unescapedURIComponentSet not containing "#"
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A3.3_T1.js
- * @description encodeURIComponent("#") === "%23"
- */
+/*---
+info: unescapedURIComponentSet not containing "#"
+description: encodeURIComponent("#") === "%23"
+---*/
if (encodeURIComponent("#") !== "%23") {
$ERROR('#1: unescapedURIComponentSet not containing "%23"');
-}
-
+}
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T1.js
index 84e7e5b24..70c983960 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T1.js
- * @description Checking ENGLISH ALPHABET
- */
+/*---
+info: URI tests
+description: Checking ENGLISH ALPHABET
+---*/
//CHECK#1
if (encodeURIComponent("http://unipro.ru/0123456789") !== "http%3A%2F%2Funipro.ru%2F0123456789") {
@@ -22,4 +20,3 @@ if (encodeURIComponent("aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ") !
if (encodeURIComponent(";/?:@&=+$,") !== "%3B%2F%3F%3A%40%26%3D%2B%24%2C") {
$ERROR('#3: ');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T2.js
index 10c6e40b7..50cfff8d9 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T2.js
- * @description Checking RUSSIAN ALPHABET
- */
+/*---
+info: URI tests
+description: Checking RUSSIAN ALPHABET
+---*/
//CHECK#1
if ((encodeURIComponent("http://ru.wikipedia.org/wiki/Юникод") !== "http%3A%2F%2Fru.wikipedia.org%2Fwiki%2F%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4") && (encodeURIComponent("http://ru.wikipedia.org/wiki/Юникод") !== "http%3A%2F%2Fru.wikipedia.org%2Fwiki%2F" + "%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4".toLowerCase())) {
@@ -22,4 +20,3 @@ if ((encodeURIComponent("http://ru.wikipedia.org/wiki/Юникод#Ссылки"
if ((encodeURIComponent("http://ru.wikipedia.org/wiki/Юникод#Версии Юникода") !== "http%3A%2F%2Fru.wikipedia.org%2Fwiki%2F%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%23%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8%20%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%D0%B0") && ((encodeURIComponent("http://ru.wikipedia.org/wiki/Юникод%23Версии Юникода") !== "http%3A%2F%2Fru.wikipedia.org%2Fwiki%2F" + "%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4#%D0%92%D0%B5%D1%80%D1%81%D0%B8%D0%B8%20%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4%D0%B0".toLowerCase()))) {
$ERROR('#3: http://ru.wikipedia.org/wiki/Юникод#Версии Юникода');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T3.js
index b89db588e..ffb9a1e13 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T3.js
- * @description Checking URL with Line Terminator
- */
+/*---
+info: URI tests
+description: Checking URL with Line Terminator
+---*/
//CHECK#1
if ((encodeURIComponent("http://unipro.ru/\nabout") !== "http%3A%2F%2Funipro.ru%2F%0Aabout") && encodeURIComponent("http://unipro.ru/\nabout") !== "http%3A%2F%2Funipro.ru%2F%0aabout") {
@@ -27,4 +25,3 @@ if ((encodeURIComponent("http://unipro.ru/\fabout") !== "http%3A%2F%2Funipro.ru%
if ((encodeURIComponent("http://unipro.ru/\rabout") !== "http%3A%2F%2Funipro.ru%2F%0Dabout") && encodeURIComponent("http://unipro.ru/\rabout") !== "http%3A%2F%2Funipro.ru%2F%0dabout") {
$ERROR('#4: http://unipro.ru/\\rabout');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T4.js
index 3cbb21683..b7bc8b119 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_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.
-/**
- * URI tests
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A4_T4.js
- * @description Test some url
- */
+/*---
+info: URI tests
+description: Test some url
+---*/
//CHECK#1
if (encodeURIComponent("") !== "") {
@@ -27,4 +25,3 @@ if (encodeURIComponent("http://www.google.ru/support/jobs/bin/static.py?page=why
if (encodeURIComponent("http://en.wikipedia.org/wiki/UTF-8#Description") !== "http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUTF-8%23Description") {
$ERROR('#4: http://en.wikipedia.org/wiki/UTF-8#Description');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.1.js
index 91efcb2bb..c9fcad4f3 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.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 encodeURIComponent has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.1.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The length property of encodeURIComponent has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (encodeURIComponent.propertyIsEnumerable('length') !== false) {
@@ -24,4 +22,3 @@ for (p in encodeURIComponent){
if (result !== true) {
$ERROR('#2: result = true; for (p in encodeURIComponent) { if (p === "length") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.2.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.2.js
index e90231832..1b19f3dec 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.2.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.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 encodeURIComponent has the attribute DontDelete
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.2.js
- * @description Checking use hasOwnProperty, delete
- */
+/*---
+info: The length property of encodeURIComponent has the attribute DontDelete
+description: Checking use hasOwnProperty, delete
+includes: [$FAIL.js]
+---*/
//CHECK#1
if (encodeURIComponent.hasOwnProperty('length') !== true) {
@@ -24,7 +23,3 @@ if (encodeURIComponent.hasOwnProperty('length') !== true) {
if (encodeURIComponent.length === undefined) {
$ERROR('#3: delete encodeURIComponent.length; encodeURIComponent.length !== undefined');
}
-
-
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.3.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.3.js
index be17a57f9..057f5ba90 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.3.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.3.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 encodeURIComponent has the attribute ReadOnly
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.3.js
- * @description Checking if varying the length property fails
- */
+/*---
+info: The length property of encodeURIComponent has the attribute ReadOnly
+description: Checking if varying the length property fails
+---*/
//CHECK#1
x = encodeURIComponent.length;
@@ -14,5 +12,3 @@ encodeURIComponent.length = Infinity;
if (encodeURIComponent.length !== x) {
$ERROR('#1: x = encodeURIComponent.length; encodeURIComponent.length = Infinity; encodeURIComponent.length === x. Actual: ' + (encodeURIComponent.length));
}
-
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.4.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.4.js
index bebeadbb5..f8ba01ec2 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.4.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.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 encodeURIComponent is 1
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.4.js
- * @description encodeURIComponent.length === 1
- */
+/*---
+info: The length property of encodeURIComponent is 1
+description: encodeURIComponent.length === 1
+---*/
//CHECK#1
if (encodeURIComponent.length !== 1) {
$ERROR('#1: encodeURIComponent.length === 1. Actual: ' + (encodeURIComponent.length));
-}
-
-
+}
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.5.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.5.js
index 67358f35b..ba33abd70 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.5.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.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 encodeURIComponent property has the attribute DontEnum
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.5.js
- * @description Checking use propertyIsEnumerable, for-in
- */
+/*---
+info: The encodeURIComponent property has the attribute DontEnum
+description: Checking use propertyIsEnumerable, for-in
+---*/
//CHECK#1
if (this.propertyIsEnumerable('encodeURIComponent') !== false) {
@@ -24,4 +22,3 @@ for (p in this){
if (result !== true) {
$ERROR('#2: result = true; for (p in this) { if (p === "encodeURIComponent") result = false; } result === true;');
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.6.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.6.js
index 8d5bce7c4..26d53603b 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.6.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.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 encodeURIComponent property has not prototype property
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.6.js
- * @description Checking encodeURIComponent.prototype
- */
+/*---
+info: The encodeURIComponent property has not prototype property
+description: Checking encodeURIComponent.prototype
+---*/
//CHECK#1
if (encodeURIComponent.prototype !== undefined) {
$ERROR('#1: encodeURIComponent.prototype === undefined. Actual: ' + (encodeURIComponent.prototype));
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.7.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.7.js
index b762aae2d..0ba245ab6 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.7.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.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 encodeURIComponent property can't be used as constructor
- *
- * @path ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A5.7.js
- * @description If property does not implement the internal [[Construct]] method, throw a TypeError exception
- */
+/*---
+info: The encodeURIComponent 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 encodeURIComponent() throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A6_T1.js b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A6_T1.js
index 695883985..d9b18aa0c 100644
--- a/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A6_T1.js
+++ b/test/suite/ch15/15.1/15.1.3/15.1.3.4/S15.1.3.4_A6_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.3/15.1.3.4/S15.1.3.4_A6_T1.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 "^"}};
@@ -76,4 +74,3 @@ catch (e) {
$ERROR('#8.2: var object = {valueOf: function() {return {}}, toString: function() {return {}}}; encodeURIComponent(object) throw TypeError. Actual: ' + (e));
}
}
-